5 lines
232 B
TypeScript
5 lines
232 B
TypeScript
declare var require: any;
|
|
|
|
// 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);
|