more architectural changes
This commit is contained in:
10
packages/babel-cli/test/tmp/not_node_modules.jsx
Normal file
10
packages/babel-cli/test/tmp/not_node_modules.jsx
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
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) {}
|
||||
Reference in New Issue
Block a user