mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5 lines
144 B
TypeScript
5 lines
144 B
TypeScript
// Find all the tests.
|
|
const context = (<any>require).context('./', true, /\.spec\.ts$/);
|
|
// And load the modules.
|
|
context.keys().map(context);
|