Commit Graph

32 Commits

Author SHA1 Message Date
eryue0220
e7c6d36abf
fix(expect): support expect.addSnapshotSerializer (#6173)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-11-06 12:51:50 +09:00
eryue0220
f4fef35ede
fix(expect): support expect.not.{arrayContaining,objectContaning,stringContaining,stringMatching} (#6138) 2024-10-28 15:44:49 +09:00
eryue0220
ed79df4696
fix(expect,internal,testing): support expect.assertions (#6032)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-10-25 17:29:40 +09:00
eryue0220
ae7048f9ca
fix(expect): support expect.objectContaining (#6065)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-10-21 23:12:53 +09:00
Simon Lecoq
ea8548602e
fix(expect): register extended matchers after native matchers (#6075) 2024-09-30 12:33:03 +09:00
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
eryue0220
6a4eb6cb91
fix(expect): support expect.hasAssertions() (#5901)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-09-19 14:38:32 +09:00
Ian Bull
f1d04d6403
refactor(expect): align additional error messages (#5811) 2024-08-26 14:27:49 +09:00
Asher Gomez
a549b786bd
docs(expect): correct expect() docs (#5788) 2024-08-25 16:20:08 +10:00
Yoshiya Hinosawa
b1b1e5c56d
docs(expect): add examples of matcher usages (#5553) 2024-07-26 19:39:06 +09:00
Simon Lecoq
83fe1f754f
fix(expect): improve expect type to make it work better with expect.extend (#5309) 2024-07-16 13:09:06 +09:00
Asher Gomez
375e914050
refactor(expect,testing): update @std/assert imports (#5242) 2024-07-02 14:07:46 +10:00
Asher Gomez
b11514e21d
refactor(expect): remove expect.addSnapshotSerializer(s) (#5231) 2024-07-02 06:09:57 +10: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
Madhav Ganesan
ab458a38fa
refactor(archive,expect,io,log,toml,yaml): remove private and public access modifiers (#5077)
* replaced public and private access modifiers #5066

* fix: run `deno fmt`

* fix: apply suggestions

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-21 14:13:08 +10:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Satya Rohith
caac76fd34
docs(expect): document methods and add examples (#4836) 2024-05-23 16:50:11 +05:30
David Sherret
4a7f38339e
chore(expect): fix future no-slow-type lint errors with expando properties (#4711)
* chore: fix future fast check errors with expando properties

* spelling

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-05-13 08:29:05 +10:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Yuki Tanaka
e299c8b689
deprecation(expect): rename addSnapshotSerializers to addSnapshotSerializer (#4582) 2024-04-15 16:39:02 +10:00
Asher Gomez
46d9fa594c
chore: update browser-compatible files with declaration (#4560) 2024-04-10 12:43:44 +10:00
cinchen
8227afed20
feat(expect): support expect.addSnapshotSerialize() api (#4537) 2024-04-02 19:44:40 +09:00
David Luis
1c38d2c886
feat(expect): add expect.{closeTo, stringContaining, stringMatching} (#4508) 2024-03-26 11:57:40 +09:00
Asher Gomez
540a9675b6
refactor(expect): prepare for noUncheckedIndexedAccess (#4464) 2024-03-11 20:31:38 +11:00
cinchen
76e3ec8898
feat(expect): support expect.extend() api (#4412)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-03-04 20:57:08 +09:00
Javier Hernández
5d15ab7596
feat(expect): add asymmetric matchers (any, anything, arrayContaining) (#4366) 2024-02-28 13:07:50 +09:00
cinchen
2f1b13acdb
feat(expect): add expect.addEqualityTesters api. (#4255) 2024-02-06 16:41:42 +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
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
David Luis
76fd2aa102
fix(expect): invalid return typing (#4011)
* fix(expect): invalid return typing

* tweaks

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-21 21:47:53 +00:00
Simon Holloway
00e24ecc93
feat(expect): support message checks in expect().toThrow (#3938) 2023-12-12 23:45:58 +09: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