UNPKG

581 BJavaScriptView Raw
1'use strict'
2
3module.exports = function (wallaby) {
4 const path = require('path')
5 process.env.NODE_PATH += path.delimiter + path.join(wallaby.localProjectDir, '..')
6
7 return {
8 files: [
9 'src/**/*.js',
10 'schemas/*.json',
11 'test/node_modules',
12 'test/data/*',
13 'test/helpers/*.js',
14 'test/mocks/*.js',
15 'test/node_modules/*',
16 'app.js'
17 ],
18
19 tests: [
20 'test/*.test.js'
21 ],
22
23 testFramework: 'mocha',
24
25 env: {
26 type: 'node',
27 runner: 'node',
28 params: {
29 env: 'NODE_ENV=unit'
30 }
31 }
32 }
33}