Created
March 19, 2019 23:37
-
-
Save jspies/dcde3b5a6249d78a98e4d7debd3d0aa1 to your computer and use it in GitHub Desktop.
Test shim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const glob = require("glob"); | |
(async () => { | |
const matches = glob.sync("**/*_test.mjs"); | |
for (const match of matches) { | |
await import(`../${match}`) | |
} | |
run(); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment