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