This commit is contained in:
Sebastian McKenzie
2015-07-13 16:34:43 +01:00
parent 1948946a4d
commit 2d5d1ceb5c
41 changed files with 45 additions and 299 deletions

View File

@@ -7,6 +7,7 @@
"repository": "babel/babel",
"preferGlobal": true,
"dependencies": {
"babel": "*",
"chokidar": "^1.0.0",
"commander": "^2.6.0",
"convert-source-map": "^1.1.0",

View File

@@ -1,2 +0,0 @@
--reporter dot
--ui tdd

View File

@@ -1,2 +0,0 @@
var bar = () => console.log("bar");
bar();

View File

@@ -1,5 +0,0 @@
import "./bar2";
import "./not_node_modules";
var foo = () => console.log("foo");
foo();

View File

@@ -1,10 +0,0 @@
/*
The purpose of this file is to test that the node_modules check in the require
hook doesn't mistakenly exclude something like "not_node_modules". To pass, this
file merely needs to be transpiled. The transpiled code won't, and doesn't need
to, execute without error. It won't execute because React will be undefined.
*/
try {
<Some jsx="element" />;
}
catch (e) {}