diff --git a/test/plugin.spec.ts b/test/plugin.spec.ts index 3fd61f159..5ecbb477a 100644 --- a/test/plugin.spec.ts +++ b/test/plugin.spec.ts @@ -36,7 +36,7 @@ describe('plugin', () => { const spy = spyOn(window.plugins.test, 'syncMethod').and.callThrough(); const result = Test.syncMethod('foo'); expect(result).toEqual('syncResult'); - expect(spy).toHaveBeenCalledWith('foo', undefined, undefined); + expect(spy).toHaveBeenCalledWith('foo'); }); @@ -138,4 +138,4 @@ describe('plugin', () => { }); -}); \ No newline at end of file +});