Skip to content

Commit

Permalink
Merge f056f36 into 3aa0d19
Browse files Browse the repository at this point in the history
  • Loading branch information
RainerAtSpirit committed Dec 29, 2018
2 parents 3aa0d19 + f056f36 commit ad1c3f6
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions wallaby.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
process.env.BABEL_ENV = 'test'
module.exports = function (wallaby) {

return {
files: [
'pkgs/**/*.ts?(x)',
'!pkgs/**/tests/*.ts?(x)',
{ pattern: 'tsconfig.*', instrument: false },
{ pattern: 'jest.config.json', instrument: false },
{ pattern: 'package.json', instrument: false }
],

tests: [
'pkgs/**/*.spec.ts?(x)',
'pkgs/**/tests/*.spec.ts?(x)'
],

env: {
type: 'node',
runner: 'node'
},

compilers: {
'**/*.ts?(x)': wallaby.compilers.typeScript({
module: 'commonjs'
})
},

testFramework: "jest",
debug: true,

setup: function (wallaby) {
var jestConfig = require('./jest.config.json');
wallaby.testFramework.configure(jestConfig);
}
}
}

0 comments on commit ad1c3f6

Please sign in to comment.