trisquel-icecat/icecat/testing/xpcshell/moz-http2
2025-10-06 02:35:48 -06:00
..
http2-cert.key icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
http2-cert.key.keyspec icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
http2-cert.pem icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
http2-cert.pem.certspec icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
moz-http2-child.js icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
moz-http2.js icecat: add release 140.3.1-1gnu1 2025-10-06 02:35:48 -06:00
package-lock.json icecat: add release 140.3.1-1gnu1 2025-10-06 02:35:48 -06:00
package.json icecat: add release 140.3.1-1gnu1 2025-10-06 02:35:48 -06:00
proxy-cert.key icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
proxy-cert.key.keyspec icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
proxy-cert.pem icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
proxy-cert.pem.certspec icecat: initial release for Trisquel 12.0, Ecne 2025-07-17 09:32:21 -06:00
README.md icecat: add release 140.3.1-1gnu1 2025-10-06 02:35:48 -06:00

XPCShellTests with npm packages

XPCShellTests that spawn a node server may use non-vendored npm packages. Make sure that the test using the npm packages has usesNPM = true added to xpshell.toml.

Adding a new dependency

  cd testing/xpcshell/moz-http2
  npm install newPackageThatIsPublishedToNPM
  # commit package.json and package-lock.json

Running a test that uses npm packages

Just run it normally. For example

./mach text netwerk/test/unit/test_node_execute_npm.js

runxpcshelltests.py will automatically install the npm packages when one of the tests in the test list has usesNPM = true