fix: fix app frontend test

This commit is contained in:
Sarah Vaupel 2020-01-08 08:30:14 +01:00 committed by Gregor Kleen
parent cd3e72c0f1
commit 49bafe1276

View File

@ -23,7 +23,7 @@ describe('App', () => {
expect(global.App).toBeTruthy();
});
it('should setup all utlites when page is done loading', () => {
it('should init all utlites when page is done loading', () => {
spyOn(global.App.utilRegistry, 'initAll');
document.dispatchEvent(new Event('DOMContentLoaded'));
expect(global.App.utilRegistry.initAll).toHaveBeenCalled();