This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/static/test/test-index.ts

6 lines
240 B
TypeScript
Raw Normal View History

declare var require: NodeRequire;
// Require all modules ending in ".spec.ts" from the js directory and all subdirectories
var testsContext = (<any>require).context("../js", true, /\.spec\.ts$/);
testsContext.keys().forEach(testsContext);