mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
16 lines
309 B
Bash
16 lines
309 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
scriptDir=$(dirname "$0")
|
|
pmg=$scriptDir/../bin/pmg
|
|
|
|
echo "Running e2e tests..."
|
|
|
|
## All these should be successful
|
|
$pmg npm install express --dry-run
|
|
$pmg --dry-run npm install express
|
|
$pmg --dry-run pnpm add express
|
|
|
|
## All these should fail
|
|
$pmg --dry-run npm install nyc-config@10.0.0 |