Last active
June 10, 2019 13:32
-
-
Save eyaleizenberg/8b50cde4e1d468ece133cbff8afb2dd0 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
test('should not fetch data if the name is not Eyal', (done) => { | |
driver.given.name('Tal').when.rendered(); | |
setImmediate(() => { | |
expect(nockImplementation).not.toHaveBeenCalled(); | |
done(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment