From 315b272f9fe13a8300a7c781ee0416d546045900 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Wed, 20 Jan 2021 10:35:43 +0000 Subject: [PATCH] docs: add missing type parameter to testing example (#40479) Without this type parameter the call to `resolve()` is invalid. PR Close #40479 --- aio/content/examples/testing/src/app/demo/demo.testbed.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/content/examples/testing/src/app/demo/demo.testbed.spec.ts b/aio/content/examples/testing/src/app/demo/demo.testbed.spec.ts index 9b1e2849fc..c1e1145945 100644 --- a/aio/content/examples/testing/src/app/demo/demo.testbed.spec.ts +++ b/aio/content/examples/testing/src/app/demo/demo.testbed.spec.ts @@ -617,7 +617,7 @@ describe('demo (with TestBed):', () => { child.childValue = 'bar'; - return new Promise(resolve => { + return new Promise(resolve => { // Wait one JS engine turn! setTimeout(() => resolve(), 0); })