-
Notifications
You must be signed in to change notification settings - Fork 68
/
karma.conf.js
25 lines (25 loc) · 1.33 KB
/
karma.conf.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
module.exports = function (config) {
config.set({
basePath: '',
client: {
useIframe: false
},
frameworks: ['mocha', 'expect'],
files: [
{ pattern: 'node_modules/requirejs/require.js', included: false },
{ pattern: 'test/fixture/amd.html', watched: true, served: true, included: false },
{ pattern: 'build/power-assert.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/tobe_instrumented/assertion.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/tobe_instrumented/assertion.es20xx.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/tobe_instrumented/customization.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/tobe_instrumented/strict_mode.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/not_tobe_instrumented/not_instrumented.js', watched: true, served: true, included: true },
{ pattern: 'espowered_tests/tobe_instrumented/modules.js', watched: true, served: true, included: true }
],
reporters: ['dots'],
port: 9876,
colors: true,
browsers: ['Chrome', 'Firefox'],
singleRun: true
});
};