diff options
Diffstat (limited to 'debian/tests/pkg-js')
-rw-r--r-- | debian/tests/pkg-js/enable_proto | 0 | ||||
-rw-r--r-- | debian/tests/pkg-js/test | 9 |
2 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/pkg-js/enable_proto b/debian/tests/pkg-js/enable_proto new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/debian/tests/pkg-js/enable_proto diff --git a/debian/tests/pkg-js/test b/debian/tests/pkg-js/test new file mode 100644 index 0000000..ec970f2 --- /dev/null +++ b/debian/tests/pkg-js/test @@ -0,0 +1,9 @@ +if test "$NETWORKTEST" != ""; then + node -e "require('https-pem/install')" + mocha test/node-fetch + rm -f test/ca-fingerprint.js test/client-errors.js test/esm-wrapper.js test/https.js test/tls-client-cert.js test/tls-session-reuse.js test/gc.js test/connect-timeout.js + rm -f test/http2-alpn.js test/proxy-agent.js test/balanced-pool.js test/tls-session-reuse.js test/autoselectfamily.js test/http2.js test/no-strict-content-length.js test/proxy.js + tap --no-timeout -R tap --no-cov `ls test/*.js test/diagnostics-channel/*.js` +else + jest --ci test/jest/mock-scope.test.js test/jest/test.js +fi |