Debian Codegraph @

packages/babel-node/test/fixtures/cli/require/in-files/not_node_modules.jsx

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