testem.js (681B)
1 /* 2 * This is dummy file that exists for the sole purpose 3 * of allowing tests to run directly in the browser as 4 * well as by Testem. 5 * 6 * Testem is configured to run tests directly against 7 * the test build of index.html, which requires a 8 * snippet to load the testem.js file: 9 * <script src="/testem.js"></script> 10 * This has to go before the qunit framework and app 11 * tests are loaded. 12 * 13 * Testem internally supplies this file. However, if you 14 * run the tests directly in the browser (localhost:8000/tests), 15 * this file does not exist. 16 * 17 * Hence the purpose of this fake file. This file is served 18 * directly from the express server to satisify the script load. 19 */