Skip to content
Permalink
Browse files

feat(elements): fix test (#22413)

PR Close #22413
  • Loading branch information...
andrewseguin authored and mhevery committed Feb 28, 2018
1 parent 863aff1 commit 44f637a88b749736a64dda20f1f8c8f2b831fd93
Showing with 1 addition and 1 deletion.
  1. +1 −1 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(() => {

0 comments on commit 44f637a

Please sign in to comment.
You can’t perform that action at this time.