Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const glob = require("glob");
- (async () => {
- const matches = glob.sync("**/*_test.mjs");
- for (const match of matches) {
- await import(`../${match}`)
- }
- run();
- })()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement