angular-test-runner
angular-test-runner copied to clipboard
loading tested module only once in setup
When I have some not idempotent operations in module config I don't want to run it every time I run test:
angular.module('numerals', []) .config(() => { numeral.register('locale', 'pl',{...} // cannot register multiple times })
This config code is executed each time when I run test for this module:
app.runHtml('....')
It would be nice to do it only when we create testing app:
app = test.app([numbers]);