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:
Don Isaac
2025-01-09 18:45:43 -06:00
committed by GitHub
parent 7bcd825d13
commit 0372ca5c0a
30 changed files with 4588 additions and 1304 deletions

View File

@@ -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',
);
});