This repository was archived by the owner on Jul 1, 2024. It is now read-only.
Commit 22f068a
Process scrubbed response so created fixtures pass
Because `create-fixture.ts` and `fixturedActions.test.ts` process
different responses (unscrubbed and scrubbed) they can have different
outputs, e.g., different mutations. The differences cause freshly
created fixtures to fail, requiring a subsequent `--updateSnapshot`.
This change makes `create-fixture.ts` process the same (scrubbed)
response as `fixturedActions.test.ts`, resulting in the same outputs and
the fixture passing.1 parent 695786d commit 22f068a
1 file changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 22 | + | |
27 | 23 | | |
| 24 | + | |
28 | 25 | | |
29 | 26 | | |
30 | 27 | | |
| |||
0 commit comments