1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
var commonConfig = require('./karma.config');
var testFiles = [
{pattern: 'node_modules/es6-promise/dist/es6-promise.auto.js', included: false},
{pattern: 'node_modules/whatwg-fetch/fetch.js', included: false},
{pattern: 'test/integration/123', included: false},
{pattern: 'test/integration/throw-string.js', included: false},
{pattern: 'test/integration/throw-error.js', included: false},
{pattern: 'test/integration/throw-object.js', included: false},
{pattern: 'test/integration/example.json', included: false},
{pattern: 'test/integration/frame.html', included: false},
'test/integration/test.js',
'test/globals.js',
'build/raven.js',
];
module.exports = function(config) {
var testConfig = Object.assign({}, commonConfig, {files: testFiles});
config.set(testConfig);
};
|