mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-14 04:49:44 +02:00
Refactor code
This commit is contained in:
@@ -9,19 +9,17 @@ for (var file in window.__karma__.files) {
|
||||
console.log('Testing with: ' + file2)
|
||||
|
||||
tests.push(file2)
|
||||
//
|
||||
}
|
||||
}
|
||||
}
|
||||
// tests.push('parser/flow.spec');
|
||||
|
||||
require.config({
|
||||
// Karma serves files from '/base'
|
||||
// Karma serves files from '/base'
|
||||
baseUrl: '/base/src',
|
||||
|
||||
// ask Require.js to load these files (all our tests)
|
||||
// ask Require.js to load these files (all our tests)
|
||||
deps: tests,
|
||||
|
||||
// start test run, once Require.js is done
|
||||
// start test run, once Require.js is done
|
||||
callback: window.__karma__.start
|
||||
})
|
||||
|
Reference in New Issue
Block a user