SourceTermAnalysisSystem_vue/node_modules/web-storage-cache/test/unit/runner.js
2026-05-15 10:22:44 +08:00

15 lines
398 B
JavaScript

// Run before window.onload to make sure the specs have access to describe()
// and other mocha methods. All feels very hacky though :-/
this.mocha.setup('bdd');
var expect = chai.expect;
function runTests() {
var runner = this.mocha.run();
}
if (this.addEventListener) {
this.addEventListener('load', runTests);
} else if (this.attachEvent) {
this.attachEvent('onload', runTests);
}