mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
* fix: Show error messages on fatal failures #32 * test: Add E2E test * test: fix E2E scripts * test: fix E2E scripts * fix: Race condition in concurrent analyzer * fix: update formatting to ensure docs URL is clickable Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> * fix: E2E test --------- Signed-off-by: Sahil Bansal <bansalsahil315@gmail.com> Co-authored-by: Sahil Bansal <bansalsahil315@gmail.com>
This commit is contained in:
co-authored by
Sahil Bansal
parent
b85f77cfbc
commit
4031219375
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
scriptDir=$(dirname "$0")
|
||||
pmg=$scriptDir/../bin/pmg
|
||||
|
||||
echo "Running e2e tests..."
|
||||
|
||||
## All these should be successful
|
||||
$pmg --debug --dry-run npm install express
|
||||
$pmg --debug --dry-run npm install express
|
||||
$pmg --debug --dry-run pnpm add express
|
||||
|
||||
## All these should fail
|
||||
! $pmg --debug --dry-run npm install nyc-config@10.0.0 || echo "Command failed as expected"
|
||||
Reference in New Issue
Block a user