Commit Graph

7 Commits

Author SHA1 Message Date
Ben Heidemann
583554de46
feat: add createAssertSnapshot (#2403) 2022-07-02 18:24:42 +09:00
cuobiezi
4c1e1bff7c
fix: assertSnapshot errors on empty snapshot in non-update mode (#2269) 2022-05-30 15:21:05 +02:00
Mark Ladyshau
1bba810b48
refactor: replace TS private with private identifiers (#2272) 2022-05-27 21:27:13 +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
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