Asher Gomez
040e666033
docs(testing): add module docs ( #5147 )
...
* docs(testing): add module docs
* work
2024-06-26 16:26:28 +10:00
Asher Gomez
3db13cb886
refactor(testing): remove @std/fmt/colors
dependency from snapshot
module ( #5145 )
2024-06-26 15:23:17 +10:00
Yoshiya Hinosawa
df8cebcd74
test(testing): improve bdd testing ( #5136 )
2024-06-25 19:26:12 +09:00
Yoshiya Hinosawa
876c20ffb9
refactor(testing): remove dead code and improve test of testing/mock.ts
( #5137 )
2024-06-25 18:32:50 +09:00
Yoshiya Hinosawa
40bf2a57b4
test(testing): improve FakeTime
testing ( #5123 )
2024-06-25 15:51:24 +09:00
Asher Gomez
ed86fa9414
BREAKING(testing): remove deprecated asserts
module ( #5099 )
2024-06-25 16:18:30 +10:00
Yoshiya Hinosawa
3204a708a5
BREAKING(testing): disable multiple FakeTime
creations ( #5130 )
2024-06-25 14:15:25 +09:00
Yoshiya Hinosawa
61a39ce146
fix(testing): function call of Date
constructor is not correctly faked ( #5122 )
2024-06-25 08:35:53 +09: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
Asher Gomez
b5f9e3446c
refactor(testing): remove FakeTime.start
setter ( #5050 )
...
* BREAKING(testing): remove `FakeTime.start` setter
* note
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-06-18 14:36:51 +10:00
denobot
cea0a14578
chore: release 2024.06.17 ( #5062 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-17 18:53:28 +09:00
Asher Gomez
935d665713
refactor(testing): remove use of public
keyword ( #5051 )
2024-06-17 15:11:31 +12:00
Yoshiya Hinosawa
635e062330
docs(testing): improve the docs of @std/testing
( #5033 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-17 11:31:31 +09:00
denobot
0ea4868542
chore: release 2024.06.06 ( #4984 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-06 20:26:57 +09:00
Asher Gomez
c5ad9d48dc
docs(cli,encoding,fmt,jsonc,path,semver,testing,text,toml,url): remove "This module is browser compatible" note ( #4945 )
2024-06-04 13:21:54 +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
8b24cc7a40
BREAKING(assert,testing): remove formatter
option from assertEquals()
( #4893 )
2024-06-03 13:37:07 +10:00
Yoshiya Hinosawa
44bc90065b
refactor(testing): do not use assertEquals in snapshot.ts ( #4930 )
2024-06-02 19:28:31 +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
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
Michael Herzner
f5f9ca9207
test(crypto): improve test coverage ( #4620 )
...
* test(crypto): improve test coverage
* chore: implement review remarks
* fix types incompatible with @types/node
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-04-23 08:37:50 +10:00
Asher Gomez
3f9d4a8494
chore: simplify deprecation notice check ( #4577 )
2024-04-17 15:36:50 +09:00
Asher Gomez
bfefdd713d
test(testing): correct test names ( #4585 )
2024-04-15 16:39:17 +10:00
Asher Gomez
44660eaf1f
test(testing): cleanup bdd tests ( #4565 )
2024-04-10 20:56:00 +09:00
Marvin Hagemeister
6cc097b621
feat(testing): add after
, before
, test
aliases ( #4541 )
...
* feat(testing): add `after`, `before`, `test` aliases
* fix: jsdoc links
2024-04-02 12:53:27 +02:00
Gabriele Belluardo
2990aa6de5
chore: enable single-var-declarator
lint rule ( #4488 )
2024-03-14 22:18:00 +11:00
Yoshiya Hinosawa
45f7a6b460
chore(testing): update snapshot testing expectations ( #4416 )
2024-02-29 21:38:35 +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
Kyle June
c6ed026ec4
feat(testing): explicit resource management for spy()
and stub()
( #4306 )
...
* feat(testing): Explicit resource management for `spy()` and `stub()`
* Undo explicitly making FakeTime Disposable
* Update test cases to use explicit resource management
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-16 15:26:33 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link}
tag where necessary. ( #4253 )
...
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Asher Gomez
805b926032
fix: add --no-lock
to spawned process args in tests ( #4168 )
2024-01-12 13:38:41 +09:00
Asher Gomez
cbea77eba0
docs(testing): fix assertion deprecation notices ( #4122 )
2024-01-08 13:17:03 +11:00
Simon Holloway
0858ff8287
refactor(testing): prepare for noUncheckedIndexedAccess
( #4084 )
...
* refactor(testing): prepare for noUncheckedIndexedAccess
* tweaks
* fix(testing): returnsArg throws when no arg at index
* refactor(testing): sessions to use .at(-1) to get last item
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* non-null after check
* swap non-null assertions for as const
* proper error message
* more as const in the mock_test file
* fix tests for new behaviour
* tweak
* revert returnsArg handling back to `| undefined`
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-05 09:26:55 +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
Asher Gomez
756f87eea7
refactor(testing): minor cleanups ( #3963 )
2023-12-18 19:04:31 +11:00
Simon Holloway
f712403cb1
feat(testing): enable the using
keyword on FakeTime()
( #3961 )
...
* feat(testing): enable the "using" keyword on FakeTime
* chore(testing): update all tests with using FakeTime
* chore(testing): formatting fix
2023-12-15 07:47:50 +11:00
Asher Gomez
733b60e4b2
chore(fmt): replace stripColor()
use with stripAnsiCode()
( #3902 )
2023-12-06 17:58:42 +11:00
Asher Gomez
69d1b0d2f1
chore(testing): remove examples ( #3833 )
2023-11-22 18:39:15 +11:00
Asher Gomez
7d5344d775
docs: improve deprecation notices ( #3804 )
2023-11-16 05:33:11 +11:00
Asher Gomez
255a3765d3
feat: std/data_structures
( #3734 )
2023-11-15 21:17:44 +11:00
Chiezo
21f9edc524
feat(testing/mock): enable spy
to accept a class constructor ( #3766 )
2023-11-06 18:03:39 +09:00
Asher Gomez
c4236a34c7
refactor: move unstable std/collections
files ( #3700 )
2023-10-18 10:24:46 +09:00
Yoshiya Hinosawa
c54ab5f956
test(testing): use assert/mod.ts instead of testing/asserts.ts ( #3652 )
2023-09-20 13:57:44 +09:00
Milly
d48fe6101b
fix(testing/time): fix FakeTime.next to return false if all timers are cleared ( #3638 )
2023-09-14 19:16:59 +09:00
Yoshiya Hinosawa
8229b6f248
BREAKING(collections): move RedBlackTree, BinarySearchTree, and BinaryHeap to 'unstable' subdir ( #3628 )
2023-09-12 16:26:57 +09:00
Hirotaka Tagawa / wafuwafu13
51cfcb65d8
fix(testing/snapshot): distinguish between singular and plural forms ( #3625 )
2023-09-06 11:02:45 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals ( #3566 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Yoshiya Hinosawa
ee6856c2ed
refactor: move _util/diff
to assert/_diff
( #3563 )
2023-08-23 16:45:32 +09:00
Milly
bca446e181
fix(testing/time): fix FakeTime.restoreFor accuracy for sync callbacks ( #3531 )
2023-08-14 18:33:35 +09:00
ud2
159060b15c
perf: repoint internal imports to single-export files ( #3537 )
2023-08-14 16:08:42 +09:00