thelounge/test/client/index.ts
Max Leiter dd05ee3a65
TypeScript and Vue 3 (#4559)
Co-authored-by: Eric Nemchik <eric@nemchik.com>
Co-authored-by: Pavel Djundik <xPaw@users.noreply.github.com>
2022-06-18 17:25:21 -07:00

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;