Skip to content

Commit 989fe2f

Browse files
committed
[INTERNAL] Remove check for TypeError name
Might be different in older Node.js versions
1 parent 86724dd commit 989fe2f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

test/lib/Compiler.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ describe("Compiler#createFileHandler", function() {
3434
assert.equal(handleDataAndCallCallback.callCount, 0);
3535
assert.equal(callback.callCount, 1);
3636
assert.equal(callback.getCall(0).args.length, 1);
37-
assert.equal(callback.getCall(0).args[0].name, "TypeError");
3837
assert.equal(callback.getCall(0).args[0].message,
3938
`The "path" argument must be of type string. Received undefined`
4039
);

0 commit comments

Comments
 (0)