Skip to content

Commit d5e6a0a

Browse files
committed
update snapshots to be ordered by time
1 parent f956f95 commit d5e6a0a

File tree

24 files changed

+180
-180
lines changed

24 files changed

+180
-180
lines changed

integration-tests/apply-multiple-patches/__snapshots__/apply-multiple-patches.test.ts.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test apply-multiple-patches: patch-package fails when a patch in the sequence is invalid 1`] = `
3+
exports[`Test apply-multiple-patches: 00: patch-package happily applies both good patches 1`] = `
4+
"SNAPSHOT: patch-package happily applies both good patches
5+
patch-package 0.0.0
6+
Applying patches...
7+
[email protected] (1 hello) ✔
8+
[email protected] (3 world) ✔
9+
END SNAPSHOT"
10+
`;
11+
12+
exports[`Test apply-multiple-patches: 01: patch-package only applies the first patch if the second of three is invalid 1`] = `
13+
"SNAPSHOT: patch-package only applies the first patch if the second of three is invalid
14+
patch-package 0.0.0
15+
Applying patches...
16+
[email protected] (1 hello) ✔
17+
END SNAPSHOT"
18+
`;
19+
20+
exports[`Test apply-multiple-patches: 02: patch-package fails when a patch in the sequence is invalid 1`] = `
421
"SNAPSHOT: patch-package fails when a patch in the sequence is invalid
522
623
**ERROR** Failed to apply patch for package left-pad at path
@@ -27,20 +44,3 @@ exports[`Test apply-multiple-patches: patch-package fails when a patch in the se
2744
patch-package finished with 1 error(s).
2845
END SNAPSHOT"
2946
`;
30-
31-
exports[`Test apply-multiple-patches: patch-package happily applies both good patches 1`] = `
32-
"SNAPSHOT: patch-package happily applies both good patches
33-
patch-package 0.0.0
34-
Applying patches...
35-
[email protected] (1 hello) ✔
36-
[email protected] (3 world) ✔
37-
END SNAPSHOT"
38-
`;
39-
40-
exports[`Test apply-multiple-patches: patch-package only applies the first patch if the second of three is invalid 1`] = `
41-
"SNAPSHOT: patch-package only applies the first patch if the second of three is invalid
42-
patch-package 0.0.0
43-
Applying patches...
44-
[email protected] (1 hello) ✔
45-
END SNAPSHOT"
46-
`;

integration-tests/broken-patch-file/__snapshots__/broken-patch-file.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test broken-patch-file: patch-package fails when patch file is invalid 1`] = `
3+
exports[`Test broken-patch-file: 00: patch-package fails when patch file is invalid 1`] = `
44
"SNAPSHOT: patch-package fails when patch file is invalid
55
66
**ERROR** Failed to apply patch for package left-pad at path

integration-tests/collate-errors/__snapshots__/collate-errors.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test collate-errors: left-pad, lodash, and zfs apply 1`] = `
3+
exports[`Test collate-errors: 00: left-pad, lodash, and zfs apply 1`] = `
44
"SNAPSHOT: left-pad, lodash, and zfs apply
55
patch-package 0.0.0
66
Applying patches...
@@ -10,7 +10,7 @@ [email protected]
1010
END SNAPSHOT"
1111
`;
1212

13-
exports[`Test collate-errors: underscore does not apply, left-pad warns 1`] = `
13+
exports[`Test collate-errors: 01: underscore does not apply, left-pad warns 1`] = `
1414
"SNAPSHOT: underscore does not apply, left-pad warns
1515
1616
Warning: patch-package detected a patch file version mismatch

integration-tests/create-issue/__snapshots__/create-issue.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test create-issue: patching left-pad prompts to submit an issue 1`] = `
3+
exports[`Test create-issue: 00: patching left-pad prompts to submit an issue 1`] = `
44
"SNAPSHOT: patching left-pad prompts to submit an issue
55
patch-package 0.0.0
66
• Creating temporary folder
@@ -15,7 +15,7 @@ patch-package 0.0.0
1515
END SNAPSHOT"
1616
`;
1717

18-
exports[`Test create-issue: patching left-pad with --create-issue opens the url 1`] = `
18+
exports[`Test create-issue: 01: patching left-pad with --create-issue opens the url 1`] = `
1919
"SNAPSHOT: patching left-pad with --create-issue opens the url
2020
patch-package 0.0.0
2121
• Creating temporary folder

integration-tests/delete-scripts/__snapshots__/delete-scripts.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test delete-scripts: a patch file got produced 1`] = `
3+
exports[`Test delete-scripts: 00: a patch file got produced 1`] = `
44
"SNAPSHOT: a patch file got produced
55
diff --git a/node_modules/left-pad/index.js b/node_modules/left-pad/index.js
66
index e90aec3..f2b8b0a 100644
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test dev-only-patches: fake-package should be skipped 1`] = `
3+
exports[`Test dev-only-patches: 00: patch-package happily ignores slash on CI because it's a dev dep 1`] = `
4+
"SNAPSHOT: patch-package happily ignores slash on CI because it's a dev dep
5+
patch-package 0.0.0
6+
Applying patches...
7+
8+
Skipping dev-only [email protected]
9+
END SNAPSHOT"
10+
`;
11+
12+
exports[`Test dev-only-patches: 01: fake-package should be skipped 1`] = `
413
"SNAPSHOT: fake-package should be skipped
514
patch-package 0.0.0
615
Applying patches...
@@ -10,7 +19,7 @@ Skipping dev-only [email protected]
1019
END SNAPSHOT"
1120
`;
1221

13-
exports[`Test dev-only-patches: patch-package fails to find fake-package 1`] = `
22+
exports[`Test dev-only-patches: 02: patch-package fails to find fake-package 1`] = `
1423
"SNAPSHOT: patch-package fails to find fake-package
1524
Error: Patch file found for package fake-package which is not present at node_modules/fake-package
1625
@@ -22,12 +31,3 @@ Error: Patch file found for package fake-package which is not present at node_mo
2231
patch-package finished with 1 error(s).
2332
END SNAPSHOT"
2433
`;
25-
26-
exports[`Test dev-only-patches: patch-package happily ignores slash on CI because it's a dev dep 1`] = `
27-
"SNAPSHOT: patch-package happily ignores slash on CI because it's a dev dep
28-
patch-package 0.0.0
29-
Applying patches...
30-
31-
Skipping dev-only [email protected]
32-
END SNAPSHOT"
33-
`;

integration-tests/error-on-fail/__snapshots__/error-on-fail.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test error-on-fail: at dev time patch-package fails but returns 0 1`] = `
3+
exports[`Test error-on-fail: 00: at dev time patch-package fails but returns 0 1`] = `
44
"SNAPSHOT: at dev time patch-package fails but returns 0
55
66
**ERROR** Failed to apply patch for package left-pad at path

integration-tests/error-on-warn/__snapshots__/error-on-warn.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test error-on-warn: at dev time patch-package warns but returns 0 1`] = `
3+
exports[`Test error-on-warn: 00: at dev time patch-package warns but returns 0 1`] = `
44
"SNAPSHOT: at dev time patch-package warns but returns 0
55
66
Warning: patch-package detected a patch file version mismatch

integration-tests/fails-when-no-package/__snapshots__/fails-when-no-package.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test fails-when-no-package: no package present failure 1`] = `
3+
exports[`Test fails-when-no-package: 00: no package present failure 1`] = `
44
"SNAPSHOT: no package present failure
55
Error: Patch file found for package left-pad which is not present at node_modules/left-pad
66
---

integration-tests/file-mode-changes/__snapshots__/file-mode-changes.test.ts.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`Test file-mode-changes: the patch file 1`] = `
3+
exports[`Test file-mode-changes: 00: the patch file 1`] = `
44
"SNAPSHOT: the patch file
55
diff --git a/node_modules/prettier/bin-prettier.js b/node_modules/prettier/bin-prettier.js
66
old mode 100755

0 commit comments

Comments
 (0)