Skip to content

Commit d46663e

Browse files
author
chuckd
committed
Initial stab at unit test
1 parent 6b733fd commit d46663e

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

test/cases/compile/require-context/a.js

Whitespace-only changes.

test/cases/compile/require-context/b.js

Whitespace-only changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
it("should maintain require context", function() {
2+
var context = {foo: "bar"};
3+
require(["./a", "./b"], function(a, b) {
4+
this.foo.should.eql("bar");
5+
}.bind(context));
6+
});

0 commit comments

Comments
 (0)