Skip to content

Commit

Permalink
[Jazzy][Test] Don't check the error message in assertThrowsError() (#969
Browse files Browse the repository at this point in the history
)

Fix: #968
  • Loading branch information
minggangw committed May 31, 2024
1 parent d3403be commit 0d0d1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function assertThrowsError(operation, errors, errMsg, message) {
if (err instanceof e) foundError = true;
});
return foundError;
} else if (err instanceof errors && containedMsg.test(err)) {
} else if (err instanceof errors) {
return true;
}

Expand Down

0 comments on commit 0d0d1be

Please sign in to comment.