]> git.proxmox.com Git - mirror_novnc.git/blob - tests/karma-test-main.js
Merge branch 'qemufix' of https://github.com/CendioOssman/noVNC
[mirror_novnc.git] / tests / karma-test-main.js
1 var TEST_REGEXP = /test\..*\.js/;
2 var allTestFiles = [];
3
4 Object.keys(window.__karma__.files).forEach(function (file) {
5 if (TEST_REGEXP.test(file)) {
6 // TODO: normalize?
7 allTestFiles.push(file);
8 }
9 });
10
11 require.config({
12 baseUrl: '/base',
13 deps: allTestFiles,
14 callback: window.__karma__.start,
15 paths: {
16 'sinon': 'vendor/sinon',
17 },
18 });