forked from adaptlearning/adapt-contrib-mcq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
karma.conf.js
29 lines (29 loc) · 1.21 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
26
27
28
29
module.exports = function(config) {
config.set({
// The root path location that will be used to resolve all relative paths
// defined in files and exclude
basePath: '',
// List of files or patterns to load in the browser
files: [
{ pattern: 'js/**/*.js', included: false },
{ pattern: 'tests/spec/**/*.js', included: false },
'tests/test-main.js'
],
// List of frameworks you want to use: jasmine, mocha, qunit
frameworks: ['expect', 'mocha', 'requirejs'],
// Enable or disable watching files and executing the tests
// whenever one of these files changes.
autoWatch: false,
// Chrome (comes installed with Karma)
// ChromeCanary (comes installed with Karma)
// PhantomJS (comes installed with Karma)
// Firefox (requires karma-firefox-launcher plugin)
// Opera (requires karma-opera-launcher plugin)
// Internet Explorer (requires karma-ie-launcher plugin)
// Safari (requires karma-safari-launcher plugin)
browsers: ['Chrome', 'PhantomJS', 'Firefox'],
// If singleRun is set to true, Karma will start and capture all
// configured browsers, run tests and then exit with an exit code of 0 or 1.
singleRun: false
});
};