Skip to content

Commit 7648d7d

Browse files
author
Chuck Dumont
authored
Merge pull request #265 from chuckdumont/work
Fix unit test failure on node 12
2 parents 8f86147 + 90cce5f commit 7648d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/DojoLoaderPlugin.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ describe("DojoLoaderPlugin tests", function() {
4646
});
4747
it("Should call callback with error returned by exec", function(done) {
4848
plugin.getOrCreateEmbeddedLoader("path", {baseUrl:'.'}, {}, err => {
49-
err.message.should.match(/Cannot find module/);
49+
err.message.should.match(/Cannot find module|ENOENT/);
5050
done();
5151
});
5252
});

0 commit comments

Comments
 (0)