Sometimes you may need to write code which runs in a browser as well as Node.js, and most test runners do not support this functionality out of the box, in order to run unit tests across all environments without duplicating the tests per environment.
So I made a little project with the number one goal of being a "ubiquitous" test runner, running tests against real browsers as well as Node.js w/o modifying tests to run between environments.
1 comment
[ 3.1 ms ] story [ 14.9 ms ] threadSo I made a little project with the number one goal of being a "ubiquitous" test runner, running tests against real browsers as well as Node.js w/o modifying tests to run between environments.
https://github.com/zenOSmosis/karma-jasmine-typescript-boile...
https://dev.to/jzombie/test-in-nodejs-and-in-browser-with-th...