Created
April 19, 2019 00:33
-
-
Save droidMakk/ebc3e6163af22138d0ff9fd7933e0cd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { _AccountServiceWrapper, AccountServiceWrapper } from './accountService'; | |
describe('Get Account Information', () => { | |
test('should account type be lease', () => { | |
const spy = jest.spyOn(_AccountServiceWrapper, 'getAccountByAccountNumberAndCountry'); | |
let accountData = _AccountServiceWrapper.getAccountByAccountNumberAndCountry(); | |
expect(spy).toHaveBeenCalledTimes(1); | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment