mirror of
https://github.com/oven-sh/bun
synced 2026-02-16 05:42:43 +00:00
test(node): get test-assert.js working (#15698)
Co-authored-by: Don Isaac <don@bun.sh> Co-authored-by: DonIsaac <DonIsaac@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@ test("doesNotMatch does not throw when not matching", () => {
|
||||
|
||||
test("doesNotMatch throws when argument is not string", () => {
|
||||
expect(() => assert.doesNotMatch(123, /pass/)).toThrow(
|
||||
'The "actual" argument must be of type string. Received type number',
|
||||
'The "string" argument must be of type string. Received type number',
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user