Files
openlayers/test/node
Andreas Hocevar 78e7f378fe Merge pull request #12106 from IQGeo/issue-12101
improve text width calculation
2022-06-08 15:39:29 +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).