Add fixture helper for tests (#28)

This commit is contained in:
Henry Zhu 2016-11-01 17:46:49 -04:00 committed by GitHub
parent 8af614022c
commit dcb9e9dd66
5 changed files with 12 additions and 0 deletions

View File

@ -50,6 +50,7 @@
"devDependencies": {
"babel-cli": "^6.11.4",
"babel-eslint": "^6.1.2",
"babel-helper-plugin-test-runner": "^6.18.0",
"babel-plugin-transform-flow-strip-types": "^6.8.0",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.14.0",

View File

@ -0,0 +1 @@
require("babel-helper-plugin-test-runner")(__dirname);

View File

@ -0,0 +1 @@
import a from 'a';

View File

@ -0,0 +1 @@
import a from 'a';

View File

@ -0,0 +1,8 @@
{
"presets": [
["../../../../lib", {
"targets": {},
"modules": false
}]
]
}