async-require-context
Version:
A rewritten version of @wilsonlewis' require-context package that utilizes modern technologies.
14 lines (8 loc) • 293 B
text/typescript
/* eslint no-undef: off */
/* eslint no-new: off */
import path from "path";
import asyncRequireContext from "../src";
test("Ensure the store can determine its age.", async () => {
const contexts = await asyncRequireContext(path.resolve("./does_not_exist"));
console.log(contexts);
});