From 3d44803bfffcd88d66f1df376dbb93d20bfcd174 Mon Sep 17 00:00:00 2001 From: Wendell Date: Sun, 28 Apr 2019 15:50:18 +0800 Subject: [PATCH] fix: typo --- components/test.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/test.ts b/components/test.ts index dbdbe97afdd..16317897b1c 100644 --- a/components/test.ts +++ b/components/test.ts @@ -15,6 +15,6 @@ getTestBed().initTestEnvironment( platformBrowserDynamicTesting() ); // Then we find all the tests. -const context = require.context('./', true, /carousel\.spec\.ts$/); +const context = require.context('./', true, /\.spec\.ts$/); // And load the modules. context.keys().map(context); diff --git a/package.json b/package.json index e5b849bc982..1fab27e11c6 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "site:start": "node ./scripts/site/generate-site init && node ./scripts/site/generateColorLess && ng serve --port 0 --open", "site": "node ./scripts/site/generate-site", "start": "ng serve --port 0", - "test": "ng test --watch=true --code-coverage" + "test": "ng test --watch=false --code-coverage" }, "dependencies": { "@angular/cdk": "^7.3.0",