mirror of
https://github.com/thelounge/thelounge
synced 2024-11-24 21:13:06 +00:00
dd05ee3a65
Co-authored-by: Eric Nemchik <eric@nemchik.com> Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
6 lines
331 B
TypeScript
6 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;
|