feat(elements): fix test (#22413)

PR Close #22413
This commit is contained in:
Andrew Seguin 2018-02-28 15:57:23 -08:00 committed by Miško Hevery
parent 863aff1a77
commit 44f637a88b
1 changed files with 1 additions and 1 deletions

View File

@ -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(() => {