From 2cb862447c660b60d540c321a340af717616910d Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Tue, 17 Mar 2020 22:28:41 +0200 Subject: [PATCH] build(docs-infra): update project structure to cli@9 4/12 (`test.ts`) (#36015) Update `test.ts`. PR Close #36015 --- aio/tools/examples/shared/boilerplate/cli/src/test.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aio/tools/examples/shared/boilerplate/cli/src/test.ts b/aio/tools/examples/shared/boilerplate/cli/src/test.ts index 16317897b1..50193eb0f2 100644 --- a/aio/tools/examples/shared/boilerplate/cli/src/test.ts +++ b/aio/tools/examples/shared/boilerplate/cli/src/test.ts @@ -7,7 +7,12 @@ import { platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing'; -declare const require: any; +declare const require: { + context(path: string, deep?: boolean, filter?: RegExp): { + keys(): string[]; + (id: string): T; + }; +}; // First, initialize the Angular testing environment. getTestBed().initTestEnvironment(