move all plugin tests out of babel-core and into their appropriate folders
This commit is contained in:
@@ -11,5 +11,8 @@
|
||||
"dependencies": {
|
||||
"babel-plugin-syntax-export-extensions": "^6.0.14",
|
||||
"babel-runtime": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-helper-plugin-test-runner": "^6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
export v, { x, y as w } from "mod";
|
||||
@@ -0,0 +1,3 @@
|
||||
import _v from "mod";
|
||||
export { _v as v };
|
||||
export { x, y as w } from "mod";
|
||||
@@ -0,0 +1 @@
|
||||
export foo from "bar";
|
||||
@@ -0,0 +1,2 @@
|
||||
import _foo from "bar";
|
||||
export { _foo as foo };
|
||||
@@ -0,0 +1 @@
|
||||
export v, * as ns from "mod";
|
||||
@@ -0,0 +1,4 @@
|
||||
import _v from "mod";
|
||||
export { _v as v };
|
||||
import * as _ns from "mod";
|
||||
export { _ns as ns };
|
||||
@@ -0,0 +1 @@
|
||||
export * as foo from "bar";
|
||||
@@ -0,0 +1,2 @@
|
||||
import * as _foo from "bar";
|
||||
export { _foo as foo };
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"plugins": ["external-helpers-2", "transform-export-extensions"]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
require("babel-helper-plugin-test-runner")(__dirname);
|
||||
Reference in New Issue
Block a user