From 44f637a88b749736a64dda20f1f8c8f2b831fd93 Mon Sep 17 00:00:00 2001 From: Andrew Seguin Date: Wed, 28 Feb 2018 15:57:23 -0800 Subject: [PATCH] feat(elements): fix test (#22413) PR Close #22413 --- aio/src/app/custom-elements/elements-loader.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aio/src/app/custom-elements/elements-loader.spec.ts b/aio/src/app/custom-elements/elements-loader.spec.ts index 3166db4118..58c9175908 100644 --- a/aio/src/app/custom-elements/elements-loader.spec.ts +++ b/aio/src/app/custom-elements/elements-loader.spec.ts @@ -39,7 +39,7 @@ describe('ElementsLoader', () => { // ElementsLoader uses the window's customElements API. Provide a fake for this test. beforeEach(() => { - fakeCustomElements = jasmine.createSpyObj('customElements', ['define']); + fakeCustomElements = jasmine.createSpyObj('customElements', ['define', 'whenDefined']); window.customElements = fakeCustomElements; }); afterEach(() => {