Commit Graph

19 Commits

Author SHA1 Message Date
Ian Bull
7539060ceb
refactor(expect): align error messages in the matchers (#5835) 2024-08-27 14:18:01 +09:00
Asher Gomez
375e914050
refactor(expect,testing): update @std/assert imports (#5242) 2024-07-02 14:07:46 +10:00
Yoshiya Hinosawa
335e073f98
fix(expect): fix validation of nth param in toHaveBeenNthCalledWith matcher (#5227) 2024-07-01 18:14:19 +09:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
Jacob Avery
7d4b54da68
fix(expect): updated error message for toContain (#4750)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-17 14:33:05 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
f57ac69735
refactor(assert,expect): use shared format.ts and diff.ts (#4592) 2024-04-16 17:09:40 +10:00
cinchen
cec0c680a5
fix(expect): fix equality of iterables (#4286)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-03-05 18:26:12 +09:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00:00
cinchen
2f1b13acdb
feat(expect): add expect.addEqualityTesters api. (#4255) 2024-02-06 16:41:42 +09:00
cin
67fe57c295
fix(expect): align toEqual to jest (#4246) 2024-01-29 17:55:56 +09:00
BlackGlory
772c4f982a
fix(expect): fix the function signature of toMatchObject() (#4202)
* fix(expect): fix the function signature of `toMatchObject`

* chore: format code
2024-01-16 09:09:30 +11:00
Simon Holloway
508f3f568f
refactor(expect): prepare for noUncheckedIndexedAccess (#4150)
* refactor(expect): prepare for `noUncheckedIndexedAccess`

* test(expect): better error messages for missing mock call

* test(expect): follow testing naming guidelines

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-11 12:14:44 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Yoshiya Hinosawa
9a0a21d604
fix(expect): align toEqual to jest (#4034) 2023-12-30 18:40:27 +09:00
Yoshiya Hinosawa
e993dbd0cb
fix(expect): align toStrictEqual behavior to jest (#4035) 2023-12-28 22:10:52 +09:00
Simon Holloway
00e24ecc93
feat(expect): support message checks in expect().toThrow (#3938) 2023-12-12 23:45:58 +09:00
Asher Gomez
18b2cf4a3b
chore(assert): copy _format.ts to std/expect (#3886) 2023-12-01 13:09:06 +11:00
Yoshiya Hinosawa
1a7ede05b4
feat: add std/expect (#3814)
Co-authored-by: Thomas Cruveilher <38007824+Sorikairox@users.noreply.github.com>
2023-11-21 23:52:38 +09:00