Skip to content

Commit 90cce5f

Browse files
author
Chuck Dumont
committed
Fix unit test failure on node 12
1 parent 6a95aad commit 90cce5f

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)