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