Skip to content

Commit 69d4532

Browse files
committed
fixes test case
1 parent 4414de1 commit 69d4532

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/cases/context/issue-524/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
it("should support an empty context", function() {
22
var c = require.context(".", true, /^nothing$/);
3-
c.id.should.be.type("number");
3+
(typeof c.id).should.be.oneOf(["number", "string"]);
44
(function() {
55
c.resolve("");
66
}).should.throw();

0 commit comments

Comments
 (0)