mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 12:59:46 +02:00
Auto fix standard style voilations
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
/**
|
||||
* Created by knut on 14-11-03.
|
||||
*/
|
||||
var tests = [];
|
||||
var tests = []
|
||||
for (var file in window.__karma__.files) {
|
||||
if (window.__karma__.files.hasOwnProperty(file)) {
|
||||
if (/spec\.js$/.test(file)) {
|
||||
var file2 = file.substr(10,file.length-13);
|
||||
console.log('Testing with: '+file2);
|
||||
if (window.__karma__.files.hasOwnProperty(file)) {
|
||||
if (/spec\.js$/.test(file)) {
|
||||
var file2 = file.substr(10, file.length - 13)
|
||||
console.log('Testing with: ' + file2)
|
||||
|
||||
tests.push(file2);
|
||||
tests.push(file2)
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
//tests.push('parser/flow.spec');
|
||||
// tests.push('parser/flow.spec');
|
||||
|
||||
require.config({
|
||||
// Karma serves files from '/base'
|
||||
baseUrl: '/base/src',
|
||||
baseUrl: '/base/src',
|
||||
|
||||
// ask Require.js to load these files (all our tests)
|
||||
deps: tests,
|
||||
deps: tests,
|
||||
|
||||
// start test run, once Require.js is done
|
||||
callback: window.__karma__.start
|
||||
});
|
||||
callback: window.__karma__.start
|
||||
})
|
||||
|
Reference in New Issue
Block a user