Files
h5ai/test/scripts.js

36 lines
864 B
JavaScript
Raw Normal View History

2015-10-24 19:20:31 +02:00
// @include "vendor/*.js"
2015-04-22 17:12:45 +02:00
2015-11-18 23:16:58 +01:00
(function () {
'use strict'; // eslint-disable-line strict
// @include "util/*.js"
}());
jQuery(function () {
'use strict'; // eslint-disable-line strict
2015-04-22 17:12:45 +02:00
2015-04-27 23:55:25 +02:00
util.mockConfigModule();
util.clearModulejs();
util.setupMocha();
2015-04-22 17:12:45 +02:00
2015-04-27 23:55:25 +02:00
describe('all tests', function () {
// @include "tests/premisses.js"
2015-04-26 18:10:31 +02:00
2015-04-27 23:55:25 +02:00
describe('unit tests', function () {
// @include "tests/unit/modulejs.js"
// @include "tests/unit/libs.js"
// @include "tests/unit/boot.js"
// @include "tests/unit/config.js"
2015-04-26 18:10:31 +02:00
2015-04-27 23:55:25 +02:00
// @include "tests/unit/*/*.js"
});
2015-04-22 17:12:45 +02:00
2015-04-27 23:55:25 +02:00
describe('integration tests', function () {
2015-04-29 14:23:15 +02:00
// @include "tests/integration/*.js"
2015-11-18 17:27:16 +01:00
// @-include "tests/integration/*/*.js"
2015-04-27 23:55:25 +02:00
});
2015-04-24 15:17:54 +02:00
});
2015-04-22 17:12:45 +02:00
2015-04-27 23:55:25 +02:00
util.pinHtml();
util.runMocha();
});