Created
January 22, 2012 17:41
-
-
Save jmaicher/1657799 to your computer and use it in GitHub Desktop.
Usage of the jasmine-require helpers (https://github.com/scottburch/jasmine-require)
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
describe("Module1", function(){ | |
var Module1; | |
requireDependencies(['module1/module1'], function(_Module1) { | |
Module1 = _Module1; | |
}); | |
it("should be defined", function(){ | |
expect(Module1).toBeDefined(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did this work for you? The code inside the requireDependencies function doesn't appear to run.