diff --git a/frontend/src/services/util-registry/util-registry.spec.js b/frontend/src/services/util-registry/util-registry.spec.js index 510033cf8..07b9e2627 100644 --- a/frontend/src/services/util-registry/util-registry.spec.js +++ b/frontend/src/services/util-registry/util-registry.spec.js @@ -116,9 +116,9 @@ describe('UtilRegistry', () => { utilRegistry.initAll(); expect(utilRegistry.setup.calls.count()).toBe(3); - expect(utilRegistry.setup.calls.argsFor(0)).toEqual([TestUtil1, undefined]); - expect(utilRegistry.setup.calls.argsFor(1)).toEqual([TestUtil2, undefined]); - expect(utilRegistry.setup.calls.argsFor(2)).toEqual([TestUtil3, undefined]); + expect(utilRegistry.setup.calls.argsFor(0)).toEqual([TestUtil1, document.body]); + expect(utilRegistry.setup.calls.argsFor(1)).toEqual([TestUtil2, document.body]); + expect(utilRegistry.setup.calls.argsFor(2)).toEqual([TestUtil3, document.body]); }); it('should pass the given scope', () => {