mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
32 lines
515 B
JavaScript
32 lines
515 B
JavaScript
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'
|
|
}
|
|
}
|