Files
openlayers/test/node
2022-07-20 13:18:41 +02:00
..
2021-10-12 09:03:53 -06:00
2021-05-01 10:18:23 -06:00
2021-05-01 10:18:23 -06:00

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).