Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. const glob = require("glob");
  2.  
  3. (async () => {
  4. const matches = glob.sync("**/*_test.mjs");
  5. for (const match of matches) {
  6. await import(`../${match}`)
  7. }
  8. run();
  9. })()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement