File: test

package info (click to toggle)
node-corepack 0.24.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, trixie
  • size: 262,916 kB
  • sloc: javascript: 94; makefile: 18; sh: 12
file content (16 lines) | stat: -rw-r--r-- 360 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

OFFLINE_TESTS=`cat debian/tests/pkg-js/offline_tests`

if test "$NETWORK_TESTS" = 'yes' ; then
  TESTS=`ls tests/*.test.ts|grep -v -f debian/tests/pkg-js/offline_tests`
else
  TESTS=$OFFLINE_TESTS
fi

if [ "$AUTOPKGTEST_TMP" != "" ]
then
  jest --testNamePattern='^(?!.*should expose its root to spawned processes).*$' $TESTS
else 
  jest $TESTS
fi