File: karma.integration.config.js

package info (click to toggle)
node-raven-js 3.22.1+dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,868 kB
  • sloc: makefile: 144; python: 34; sh: 2
file content (20 lines) | stat: -rw-r--r-- 803 bytes parent folder | download
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);
};