Skip to content

Commit

Permalink
[Tests] add an additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 13, 2019
1 parent 09dc3e8 commit 2c67936
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/resolver_sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ test('not a directory', function (t) {
} catch (err) {
t.ok(err, 'a non-directory errors');
t.equal(err && err.message, 'Cannot find module \'' + path + "' from '" + __filename + "'");
t.equal(err && err.code, 'MODULE_NOT_FOUND');
}
t.end();
});
Expand Down

0 comments on commit 2c67936

Please sign in to comment.