restructure testing infrastructure to be more modular
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
var bar = () => console.log("bar");
|
||||
bar();
|
||||
@@ -0,0 +1,4 @@
|
||||
var foo = () => console.log("foo");
|
||||
foo();
|
||||
|
||||
import "./bar2";
|
||||
3
test/core/fixtures/bin/babel-node/require/options.json
Normal file
3
test/core/fixtures/bin/babel-node/require/options.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"args": ["foo2"]
|
||||
}
|
||||
2
test/core/fixtures/bin/babel-node/require/stdout.txt
Normal file
2
test/core/fixtures/bin/babel-node/require/stdout.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
foo
|
||||
bar
|
||||
Reference in New Issue
Block a user