move all plugin tests out of babel-core and into their appropriate folders

This commit is contained in:
Sebastian McKenzie
2015-11-08 23:04:10 -08:00
parent 5f40b53dee
commit 15969a0904
1189 changed files with 365 additions and 65 deletions

View File

@@ -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"
}
}
}

View File

@@ -0,0 +1 @@
export v, { x, y as w } from "mod";

View File

@@ -0,0 +1,3 @@
import _v from "mod";
export { _v as v };
export { x, y as w } from "mod";

View File

@@ -0,0 +1 @@
export foo from "bar";

View File

@@ -0,0 +1,2 @@
import _foo from "bar";
export { _foo as foo };

View File

@@ -0,0 +1 @@
export v, * as ns from "mod";

View File

@@ -0,0 +1,4 @@
import _v from "mod";
export { _v as v };
import * as _ns from "mod";
export { _ns as ns };

View File

@@ -0,0 +1 @@
export * as foo from "bar";

View File

@@ -0,0 +1,2 @@
import * as _foo from "bar";
export { _foo as foo };

View File

@@ -0,0 +1,3 @@
{
"plugins": ["external-helpers-2", "transform-export-extensions"]
}

View File

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