Commit Graph

84 Commits

Author SHA1 Message Date
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
denobot
10ee73dbbc
chore: release 2024.10.24 (#6145)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-10-24 19:23:22 +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
denobot
b4e5d21762
chore: release 2024.10.10 (#6098)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-10-10 18:46:27 +09:00
Simon Lecoq
ea8548602e
fix(expect): register extended matchers after native matchers (#6075) 2024-09-30 12:33:03 +09:00
denobot
eeb3c9b151
chore: release 2024.09.24 (#6043)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-24 19:25:09 +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
denobot
c5d7930d57
chore: release 2024.09.12 (#5969)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-12 19:18:10 +09:00
lionel-rowe
635a8860d7
fix(expect): value-equal complex keys in expect.equal() (#5936)
fix(expect): value-equal complex keys
2024-09-11 20:39:54 +10:00
lionel-rowe
38455481a2
perf(expect): add fast path for primitive keyed collections in equal() (#5934)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-11 10:21:31 +00:00
Yoshiya Hinosawa
b3e1ebb75f
refactor(assert,expect): import internal APIs from more specific paths (#5923) 2024-09-09 14:47:32 +09:00
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +09:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
Ian Bull
7539060ceb
refactor(expect): align error messages in the matchers (#5835) 2024-08-27 14:18:01 +09:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +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
Yoshiya Hinosawa
b6b0d68381
chore: release expect@1.0.0 (#5455) 2024-07-22 20:50:26 +09:00
Yoshiya Hinosawa
a8a637fb92
docs(expect): link to matcher docs (#5502) 2024-07-22 15:09:00 +09:00
Asher Gomez
88019ee78d
docs(expect): minor doc tweaks (#5501)
* docs(expect): minor doc tweaks

* tweaks
2024-07-22 12:17:47 +09:00
denobot
3ee4c4dd43
chore: release 2024.07.19 (#5494)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-19 20:22:43 +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
denobot
dc14633394
chore: release 2024.07.09 (#5363)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-09 15:13:21 +09:00
Simon Lecoq
a92e1b6060
fix(expect): make .not aware of whether is it is in async context (#5308) 2024-07-05 08:45:04 +10:00
Asher Gomez
f1952eca20
fix(bytes,cli,collections,expect): add missing non-null assertions (#5280)
fix(bytes,cli,collections,expect): add non-null assertions
2024-07-04 00:12:41 +02:00
Asher Gomez
375e914050
refactor(expect,testing): update @std/assert imports (#5242) 2024-07-02 14:07:46 +10:00
Asher Gomez
5803cc9172
BREAKING(assert): remove assert from module names (#5176)
* BREAKING(assert): remove `assert` from module names

* work

* fix

* work

* work

* tweaks

* fix
2024-07-02 13:42:40 +10:00
Yoshiya Hinosawa
76113d67fe
BREAKING(expect): remove special handling of Immutable.js objects (#5228) 2024-07-02 12:33:08 +09:00
Asher Gomez
b11514e21d
refactor(expect): remove expect.addSnapshotSerializer(s) (#5231) 2024-07-02 06:09:57 +10:00
Asher Gomez
6e9c2e9aef
chore(expect): release expect@1.0.0-rc.1 (#5235) 2024-07-01 21:52:31 +10:00
Yoshiya Hinosawa
335e073f98
fix(expect): fix validation of nth param in toHaveBeenNthCalledWith matcher (#5227) 2024-07-01 18:14:19 +09:00
Yoshiya Hinosawa
9a4dffff98
test(expect): test edge cases of matchers (#5226) 2024-07-01 18:13:47 +09:00
Yoshiya Hinosawa
90025e9db4
test(expect): add test of iterableEquality (#5222)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-01 16:06:52 +09:00
Yoshiya Hinosawa
76cf563c42
test(expect): improve expect test cases (#5221) 2024-07-01 14:25:42 +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
denobot
7d1d9cc34a
chore: release 2024.06.21 (#5107)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-21 19:15:49 +09: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
denobot
b9374d3715
chore: release 2024.06.03 (#4935)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-03 15:44:03 +09:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter (#4911) 2024-06-03 14:10:27 +10:00
Asher Gomez
79d6a70729
docs(assert,cli,data-structures,expect,fmt,front-matter,html,http,jsonc,semver,streams,text,toml,webgpu): add snippet checks in module, function and class docs to doc checker (#4855)
* chore: add snippet checks to module docs

* fix

* work

* tweak
2024-05-31 12:01:46 +10:00
denobot
673c436739
chore: release 2024.05.29 (#4883)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-29 18:56:12 +09:00
Satya Rohith
caac76fd34
docs(expect): document methods and add examples (#4836) 2024-05-23 16:50:11 +05:30
denobot
51dc36d563
chore: release 2024.05.22 (#4830)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-22 19:57:28 +09: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
Asher Gomez
9c32f3a57b
refactor(assert,internal): rename diffstr() to diffStr() (#4758) 2024-05-17 15:32:03 +10:00
denobot
66e8fc9869
chore: release 2024.05.16 (#4755)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-05-16 20:10:44 +09:00
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