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
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase ( #4650 )
2024-04-29 11:57:30 +09:00
Asher Gomez
bfefdd713d
test(testing): correct test names ( #4585 )
2024-04-15 16:39:17 +10:00
Asher Gomez
805b926032
fix: add --no-lock
to spawned process args in tests ( #4168 )
2024-01-12 13:38:41 +09: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
733b60e4b2
chore(fmt): replace stripColor()
use with stripAnsiCode()
( #3902 )
2023-12-06 17:58:42 +11:00
Yoshiya Hinosawa
c54ab5f956
test(testing): use assert/mod.ts instead of testing/asserts.ts ( #3652 )
2023-09-20 13:57:44 +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
ayame113
b4239898d6
chore: update copyright header ( #3082 )
2023-01-03 19:47:44 +09:00
Asher Gomez
6c2e01e6b8
refactor: replace use of Deno.spawnChild
and Deno.run
with Deno.Command
( #2912 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-11-30 14:12:34 +09:00
Asher Gomez
b72d3eb42a
refactor: replace Deno.spawn
with Deno.Command
( #2886 )
2022-11-15 15:00:59 +09:00
Ben Heidemann
583554de46
feat: add createAssertSnapshot ( #2403 )
2022-07-02 18:24:42 +09:00
denobot
55addb3ad1
0.144.0 ( #2351 )
...
* 0.144.0
* fix(Releases.md): update note about collections/mod.ts
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
* chore: fix formatting
* fix(tests): use `Deno.currentExe()` instead of `"deno"`
Co-authored-by: aslilac <aslilac@users.noreply.github.com>
Co-authored-by: Kayla Washburn <mckayla@hey.com>
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-06-15 16:05:49 -06:00
cuobiezi
4c1e1bff7c
fix: assertSnapshot errors on empty snapshot in non-update mode ( #2269 )
2022-05-30 15:21:05 +02:00
Leo Kettmeir
852968f631
refactor: switch the Deno.spawn ( #2161 )
2022-05-25 11:08:27 +02: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