Add node tests

This commit is contained in:
Tim Schaub
2021-04-28 15:00:04 -07:00
parent c301d2413b
commit 7b934a06be
61 changed files with 1216 additions and 449 deletions

11
test/node/readme.md Normal file
View File

@@ -0,0 +1,11 @@
# Node.js Based Tests
The tests in this directory are run in Node.js. To run the tests:
npm run test-node
To attach a debugger to the tests, add a `debugger` statement in the module that you want to debug and run the tests with the `--inspect-brk` flag:
npm run test-node -- --inspect-brk
Then open chrome://inspect/ and attach to the remote target (or see https://nodejs.org/en/docs/guides/debugging-getting-started/ for other options).