Artifact Content
Not logged in

Artifact 3a78ba733a0735aa61f799dc3de383fa3ef44f62:


'use strict'

module.exports = function (wallaby) {
  const path = require('path')
  process.env.NODE_PATH += path.delimiter + path.join(wallaby.localProjectDir, '..')

  return {
    files: [
      'src/**/*.js',
      'schemas/*.json',
      'test/node_modules',
      'test/data/*',
      'test/helpers/*.js',
      'test/mocks/*.js',
      'test/node_modules/*',
      'app.js'
    ],

    tests: [
      'test/*.test.js'
    ],

    testFramework: 'mocha',

    env: {
      type: 'node',
      runner: 'node',
      params: {
        env: 'NODE_ENV=unit'
      }
    }
  }
}