mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Add wallaby.js support (#1742)
This commit is contained in:
parent
612f06b7cf
commit
4f1ba6ac78
31
wallaby.js
Normal file
31
wallaby.js
Normal file
|
@ -0,0 +1,31 @@
|
|||
module.exports = function (wallaby) {
|
||||
return {
|
||||
files: [
|
||||
'server/**/*.js',
|
||||
'client/**/*.js',
|
||||
'lib/**/*.js',
|
||||
'dist/**/*.js',
|
||||
'test/**/*.*',
|
||||
'!test/**/*.test.js'
|
||||
],
|
||||
|
||||
tests: [
|
||||
'test/**/*.test.js',
|
||||
'!test/integration/**/*.test.js'
|
||||
],
|
||||
|
||||
compilers: {
|
||||
'**/*.js': wallaby.compilers.babel()
|
||||
},
|
||||
|
||||
env: {
|
||||
type: 'node',
|
||||
runner: 'node',
|
||||
params: {
|
||||
env: 'NODE_PATH=test/lib'
|
||||
}
|
||||
},
|
||||
|
||||
testFramework: 'jest'
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue