Example 5 Test
describe("The getAnimalCallBackFn function", function(){ | |
it("should set Animal name property"){ | |
window.myLib.initialize(); | |
window.myLib.selector.getAnimal (); | |
window.myLib.selector.getAnimalCallBackFn("dog"); | |
expect(window.myLib.selector.name).toBe("dog"); | |
}; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment