123456789101112131415161718192021222324252627282930313233 |
- /*eslint-disable*/
- 'use strict';
- const babelOptions = require('./package.json').babel.env.test;
- module.exports = function(wallaby) {
- return {
- env: {
- type: 'node',
- runner: 'node'
- },
-
- testFramework: 'jest',
-
- files: [
- 'package.json',
- 'src2/**/*.js',
- '!src2/**/*.test.js'
- ],
-
- tests: [
- 'src2/**/*.test.js'
- ],
-
- compilers: {
- '**/*.js': wallaby.compilers.babel(babelOptions)
- },
-
- setup: function(w) {
- require('babel-polyfill');
- w.testFramework.configure(require('./package.json').jest);
- }
- };
- };
|