Files
MishaBagger b6c10cc93f MACHIN
2023-10-25 09:15:21 +03:00

14 lines
592 B
JavaScript

/** Custom RequireJS setup file to test user-specified setup files */
/* We want to minimize behavior changes between this test setup file and the
* default setup file to avoid breaking tests which rely on any (current or
* future) default behavior. So we:
* - Run the normal setup file
* - Avoid introducing additional global variables
* - Avoid maintaining two copies of the setup file
*/
eval(require('fs').readFileSync(baseUrl + '../lib/jasmine-node/requirejs-wrapper-template.js', 'utf8'));
// This is our indicator that this custom setup script has run
var setupHasRun = true;