test(): sync methods no longer get resolve/reject

This commit is contained in:
Ibby 2016-10-06 20:37:41 -04:00
parent 598f8a9e7c
commit 7a91c87a72

View File

@ -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', () => {
});
});
});