dd05ee3a65
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
7 lines
331 B
TypeScript
7 lines
331 B
TypeScript
// Recursively load all JS files (test files) in the `js` folder
|
|
// @ts-expect-error ts-migrate(2339) FIXME: Property 'context' does not exist on type 'NodeReq... Remove this comment to see the full error message
|
|
const context = require.context("./js", true, /.+\.js$/);
|
|
context.keys().forEach(context);
|
|
|
|
module.exports = context;
|