I'm working on a little library: https://github.com/jtmkrueger/lilBox and am trying to add some jasmine tests. From what I've gathered, I just need to add a require statement at the top of the spec to include the file, like this:
require('../lilbox.js');
describe("lilBox", function() {
it ("is loaded", function () {
expect(lilBox).toBeDefined();
});
});
But that test is failing. I'm not entirely sure what I'm doing wrong, but I think it has to do with how I'm including the file.
What do I need to do to get this test to pass?