Baginski, Thomas A c084ce0d6f Changed build-package to copy src instead of transpiling it.
Updated OpenLayer dependencies to 7
Updated tests to use Chrome instead of phantomjs
Removed buble from karma.config.js and webpack/config.js
Added callback parameter to google api load.
2023-06-06 08:37:48 -04:00
..
2019-01-02 15:01:11 +01:00
2018-07-20 10:57:06 +02:00
2018-07-16 10:13:47 +02:00
2017-07-06 10:38:27 +02:00

Guidelines

Where to write tests

Place your tests in the test/spec folder. The name of the test file should be the same as the name of the source file that contains the code you're testing, except that the extension will be .test.js instead of .js.

Writing tests

All tests are combined into a single file, and they are all run on the same HTML file. Therefore, all variables you set must be unset in the same test. The state of the page should be the same before and after the tests.

Running tests

npm test or tasks/runtests.sh