Caleb Cox
381d70dcd1
docs(archive,log,testing): correct typos ( #5995 )
...
* docs(log,testing): replace colours with colors
Use the American spelling of colors in docs for consistency with module
and option names.
* docs(archive,testing): replace it's with its
* fix
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-16 22:48:56 +00:00
Yoshiya Hinosawa
e29f946319
test(testing): fix flakiness of snapshot test ( #5414 )
2024-07-11 19:25:08 +09:00
Yoshiya Hinosawa
0d668fa01e
fix(testing): escape CR in snapshot files ( #5352 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-07-08 19:33:33 +09:00
Ben Heidemann
d6c31707d8
fix(testing): throw error eagerly when insufficient permissions are granted to write to snapshot file in update mode ( #5201 )
2024-07-01 11:14:37 +09:00
Asher Gomez
bfefdd713d
test(testing): correct test names ( #4585 )
2024-04-15 16:39:17 +10:00
Yoshiya Hinosawa
45f7a6b460
chore(testing): update snapshot testing expectations ( #4416 )
2024-02-29 21:38:35 +09:00
Hirotaka Tagawa / wafuwafu13
51cfcb65d8
fix(testing/snapshot): distinguish between singular and plural forms ( #3625 )
2023-09-06 11:02:45 +09:00
Yoshiya Hinosawa
5be01a0931
BREAKING(testing/snapshot): fix regression of serialization of long strings ( #3507 )
2023-07-29 18:30:50 +09:00
Hirotaka Tagawa / wafuwafu13
428154a3dd
BREAKING(testing/snapshot): change tab char serialization ( #3447 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-07-29 18:24:09 +09:00
Hirotaka Tagawa / wafuwafu13
d3e48570ab
feat(testing): report the number of removed snapshots ( #3435 )
2023-06-10 19:02:09 +09:00
Hirotaka Tagawa / wafuwafu13
d42db5ba90
refactor(testing): remove unnecessary context processing in snapshot teardown ( #3422 )
2023-06-07 14:05:47 +09:00
Yoshiya Hinosawa
400ba3a3dd
chore: update assertions following Deno.inspect change ( #3345 )
2023-05-01 08:28:36 +09:00
Yuki Tanaka
18b171468b
chore(testing): update __snapshots__/snapshot_test.ts.snap
( #3271 )
2023-03-21 21:35:48 +09:00
denobot
8379497298
0.151.0 ( #2497 )
2022-08-04 21:48:15 +02:00
Ben Heidemann
583554de46
feat: add createAssertSnapshot ( #2403 )
2022-07-02 18:24:42 +09:00
David Sherret
6303f047cc
chore(canary): update snapshot tests based on latest canary ( #2347 )
2022-06-14 20:53:42 -04:00
cuobiezi
4c1e1bff7c
fix: assertSnapshot errors on empty snapshot in non-update mode ( #2269 )
2022-05-30 15:21:05 +02:00
Yoshiya Hinosawa
436c3a7b25
test(testing/snapshot): update snapshot expections ( #2210 )
2022-05-10 19:39:50 +09:00
Ben Heidemann
bab7056ff0
feat(testing/snapshot): add "assertSnapshot" options overload ( #2179 )
2022-05-06 22:05:27 +09:00
Ben Heidemann
d9fd8a171a
BREAKING(testing/snapshot): change multiline string serialization ( #2166 )
2022-05-03 21:21:11 +09:00
Ben Heidemann
3103d39fe3
test(testing/snapshot): add regression test for Deno.inspect compacting empty iterables ( #2152 )
2022-04-27 09:55:37 +09:00
Ben Heidemann
0ea7b3f2b3
test(testing/snapshot): fix unexpected truncation of long strings in snapshots ( #2150 )
2022-04-26 12:54:45 +09:00
Yongwook Choi
7b44ec31cd
feat(testing): Implement "assertSnapshot" ( #2039 )
...
This commits adds "assertSnapshot" API as part of "testing" module.
This API is modelled after Jest's API and can be used to compare
test results with previously saved result in a file.
Co-authored-by: Ben Heidemann <ben@heidemann.co.uk>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-04-20 13:46:21 +02:00