generated from tophat/new-project-kit
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: support call syntax for snapshot fixture overriding (#160)
* wip: call syntax with differentiation * test: add example * refactor: callout state mutation * cr: restore fixture instance options after assertion * cr: fix typo Co-authored-by: Noah <noah.negin-ulster@tophatmonocle.com>
- Loading branch information
Showing
6 changed files
with
67 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# name: test_multiple_snapshot_extensions.1 | ||
'<?xml version="1.0" encoding="UTF-8"?><svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><g><rect width="50" height="50" fill="#fff"/><g><g fill="#fff" stroke="#707070"><rect width="50" height="50" stroke="none"/><rect x="0" y="0" width="50" height="50" fill="none"/></g><text transform="translate(10 27)" fill="#707070" font-family="ConsolasForPowerline, Consolas for Powerline" font-size="8"><tspan x="0" y="0">50 x 50</tspan></text></g></g></svg>' | ||
--- |
Binary file added
BIN
+182 Bytes
tests/__snapshots__/test_extension_image/test_multiple_snapshot_extensions.2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
tests/__snapshots__/test_extension_image/test_multiple_snapshot_extensions.3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
tests/__snapshots__/test_extension_image/test_multiple_snapshot_extensions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters