diff --git a/spec/log-window-tests.js b/spec/log-window-tests.js index b66634c..7c381bf 100644 --- a/spec/log-window-tests.js +++ b/spec/log-window-tests.js @@ -23,6 +23,7 @@ describe('Log window', () => { beforeAll(() => { mockDocument = document.createElement('div'); + mockDocument.createElement = (name) => document.createElement(name); document.body.appendChild(mockDocument); mockWindow = {