Use an absolute NODE_EXTRA_CA_CERTS path in test

Remove some complexity around correctly handling a relative path to
extra CA certs by setting it to an absolute path.
This commit is contained in:
Hornwitser committed 2026-03-04 18:27:07 +01:00
1 parent fb3fe09466
commit 8a51e9cf4d
2 files changed
+2 -7

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@
"build": "tsc --build",
"watch": "tsc --build --watch",
"build-mod": "pnpm run -r build-mod --output-dir ../../dist",
"test": "pnpm run build && NODE_EXTRA_CA_CERTS=test/file/tls/cert.pem mocha --enable-source-maps --check-leaks -R spec --recursive test \"plugins/*/test/**\" --exclude \"test/manual/**\"",
"test": "pnpm run build && NODE_EXTRA_CA_CERTS=$(pwd)/test/file/tls/cert.pem mocha --enable-source-maps --check-leaks -R spec --recursive test \"plugins/*/test/**\" --exclude \"test/manual/**\"",
"silent-test": "SILENT_TEST=y pnpm test",
"fast-test": "FAST_TEST=y pnpm test",
"cover": "nyc pnpm test",