Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.