UNPKG

@jirkakrepl/chimpy

Version:

Develop acceptance tests & end-to-end tests with realtime feedback.

15 lines (13 loc) 426 B
"use strict"; /** * before we import chimp config file, use babel to the config file. * set cwd to project under test * set preset path to this repository's node_modules * https://github.com/babel/babel/issues/10349#issuecomment-522061558 */ require('@babel/register')({ cwd: process.env.PWD, presets: ["".concat(__dirname, "/../../node_modules/@babel/preset-env")], babelrc: false }); require('@babel/polyfill');