Skip to content

Instantly share code, notes, and snippets.

@jspies
Created March 19, 2019 23:37
Show Gist options
  • Save jspies/dcde3b5a6249d78a98e4d7debd3d0aa1 to your computer and use it in GitHub Desktop.
Save jspies/dcde3b5a6249d78a98e4d7debd3d0aa1 to your computer and use it in GitHub Desktop.

Revisions

  1. jspies created this gist Mar 19, 2019.
    9 changes: 9 additions & 0 deletions tests.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    const glob = require("glob");

    (async () => {
    const matches = glob.sync("**/*_test.mjs");
    for (const match of matches) {
    await import(`../${match}`)
    }
    run();
    })()