Created
April 10, 2013 14:53
-
-
Save JamieKnight/5355324 to your computer and use it in GitHub Desktop.
instance of in jasmine
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
it("Should accept a DOM node as paramater 1", function() { | |
var node = document.createElement("div"); | |
var draw = new Drawer(node) | |
expect(draw instanceof Drawer).toBeTruthy(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment