Skip to content

Commit c1fc055

Browse files
committed
TST: Add explicit npm test case
1 parent be6b51b commit c1fc055

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test-npm.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/sh
2+
set -eu
3+
4+
. "${0%/*}/_init.sh"
5+
6+
sandbox-run npm install dotenv
7+
8+
# Assert files exist
9+
test -d "$tmpdir"/node_modules/dotenv*
10+
test -d "$tmpdir"/.sandbox*/.npm

0 commit comments

Comments
 (0)