Last active
December 16, 2015 21:39
-
-
Save neilmanuell/5500938 to your computer and use it in GitHub Desktop.
Mocha BDD test with nodeJS fail
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
function TickProvider () | |
{ | |
} |
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
var should = require('should'); | |
var TickProvider = require('../scripts/tick/tick_provider'); | |
describe('TickProvider', function() { | |
it('should instantiate', function() { | |
var tick = new TickProvider() | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
am getting this error:
TypeError: object is not a function
passes if line 7 commented out (instantiation)