-
-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
800 additions
and
3 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
...ration-tests/reverse-multiple-patches/__snapshots__/reverse-multiple-patches.test.ts.snap
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,45 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Test reverse-multiple-patches: 00: the patches were applied 1`] = ` | ||
"SNAPSHOT: the patches were applied | ||
'goodbye world'; | ||
END SNAPSHOT" | ||
`; | ||
|
||
exports[`Test reverse-multiple-patches: 01: --reverse undoes the patches 1`] = ` | ||
"SNAPSHOT: --reverse undoes the patches | ||
patch-package 0.0.0 | ||
Applying patches... | ||
left-pad@1.3.0 (3 goodbye) β | ||
left-pad@1.3.0 (2 world) β | ||
left-pad@1.3.0 (1 hello) β | ||
END SNAPSHOT" | ||
`; | ||
|
||
exports[`Test reverse-multiple-patches: 02: The patches can be reapplied 1`] = ` | ||
"SNAPSHOT: The patches can be reapplied | ||
patch-package 0.0.0 | ||
Applying patches... | ||
left-pad@1.3.0 (1 hello) β | ||
left-pad@1.3.0 (2 world) β | ||
left-pad@1.3.0 (3 goodbye) β | ||
END SNAPSHOT" | ||
`; | ||
|
||
exports[`Test reverse-multiple-patches: 03: if one of the patches fails then reverse only ondoes the ones that succeeded 1`] = ` | ||
"SNAPSHOT: if one of the patches fails then reverse only ondoes the ones that succeeded | ||
patches/left-pad+1.3.0+003+goodbye.patch | ||
9: -'use schmorld'; | ||
10: +'goodbye schmorld'; | ||
apply broken | ||
patch-package 0.0.0 | ||
Applying patches... | ||
left-pad@1.3.0 (1 hello) β | ||
left-pad@1.3.0 (2 world) β | ||
reverse all but broken | ||
patch-package 0.0.0 | ||
Applying patches... | ||
left-pad@1.3.0 (2 world) β | ||
left-pad@1.3.0 (1 hello) β | ||
END SNAPSHOT" | ||
`; |
Oops, something went wrong.