-
Notifications
You must be signed in to change notification settings - Fork 97
/
Copy pathtestem.js
35 lines (32 loc) · 860 Bytes
/
testem.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/* eslint-env node */
"use strict";
var fluid = require("../src/module/fluid");
fluid.setLogging(true);
require("fluid-testem");
fluid.defaults("fluid.tests.testem", {
gradeNames: ["fluid.testem.instrumentation"],
coverageDir: "coverage",
reportsDir: "reports",
testPages: ["tests/all-tests.html"],
instrumentationOptions: {
nonSources: [
"./**/*.!(js)",
"./lib/**/*",
"./**/lib/**/*",
"./buildModules.js"
]
},
sourceDirs: {
src: "%infusion/src"
},
contentDirs: {
tests: "%infusion/tests"
},
testemOptions: {
launch: "Headless Chrome,Headless Firefox",
ignore_missing_launchers: true,
disable_watching: true,
tap_quiet_logs: true
}
});
module.exports = fluid.tests.testem().getTestemOptions();