Skip to content

Commit 2c67936

Browse files
committed
[Tests] add an additional test
1 parent 09dc3e8 commit 2c67936

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/resolver_sync.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ test('not a directory', function (t) {
290290
} catch (err) {
291291
t.ok(err, 'a non-directory errors');
292292
t.equal(err && err.message, 'Cannot find module \'' + path + "' from '" + __filename + "'");
293+
t.equal(err && err.code, 'MODULE_NOT_FOUND');
293294
}
294295
t.end();
295296
});

0 commit comments

Comments
 (0)