fruitsconfits
Version:
FruitsConfits - A well typed and sugared parser combinator framework for TypeScript/JavaScript.
10 lines (7 loc) • 394 B
text/typescript
// tslint:disable:no-var-requires
function importAll(r: any) {
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
r.keys().forEach(r);
}
// eslint-disable-next-line @typescript-eslint/no-unsafe-call, @typescript-eslint/no-unsafe-member-access
importAll((require as any).context('./', true, /\.spec\.(tsx|ts|jsx|js)$/));