From 7a91c87a725f6dbae3706452ff504132e3a6154a Mon Sep 17 00:00:00 2001 From: Ibby Date: Thu, 6 Oct 2016 20:37:41 -0400 Subject: [PATCH] test(): sync methods no longer get resolve/reject --- test/plugin.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +});