summaryrefslogtreecommitdiffstats
path: root/debian/tests/pkg-js
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-21 20:56:20 +0000
commit868522aa377a4519adb0b9f402586ab7a41b86ba (patch)
tree44e805e154a3ace9bd8dbac73843e80d296b7814 /debian/tests/pkg-js
parentAdding upstream version 5.28.2+dfsg1+~cs23.11.12.3. (diff)
downloadnode-undici-debian.tar.xz
node-undici-debian.zip
Adding debian version 5.28.2+dfsg1+~cs23.11.12.3-6.debian/5.28.2+dfsg1+_cs23.11.12.3-6debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/pkg-js')
-rw-r--r--debian/tests/pkg-js/enable_proto0
-rw-r--r--debian/tests/pkg-js/test9
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