Skip to content

Commit 31e6f7e

Browse files
committed
test: fix test cases due to fork renaming
1 parent feecfc9 commit 31e6f7e

File tree

6 files changed

+7
-18
lines changed

6 files changed

+7
-18
lines changed

β€Ž.github/FUNDING.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

β€Ž.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
push:
44
branches:
55
- master
6+
- fork-release
67
name: Test
78
jobs:
89
test:

β€Žintegration-tests/ignores-scripts-when-making-patch/__snapshots__/ignores-scripts-when-making-patch.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ END SNAPSHOT"
1515
exports[`Test ignores-scripts-when-making-patch: 01: a patch file got produced 1`] = `
1616
"SNAPSHOT: a patch file got produced
1717
diff --git a/node_modules/naughty-package/postinstall.sh b/node_modules/naughty-package/postinstall.sh
18-
index 3784520..c4af29c 100755
18+
index 7f5c683..5f061a8 100755
1919
--- a/node_modules/naughty-package/postinstall.sh
2020
+++ b/node_modules/naughty-package/postinstall.sh
2121
@@ -1,4 +1,4 @@
2222
-# postinstall
2323
+# lol
2424
2525
# if we're running in the main repo is ok
26-
if ls ../patch-package ;
26+
if ls ../@unts/patch-package ;
2727
END SNAPSHOT"
2828
`;

β€Žintegration-tests/ignores-scripts-when-making-patch/naughty-package/postinstall.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# postinstall
22

33
# if we're running in the main repo is ok
4-
if ls ../patch-package ;
4+
if ls ../@unts/patch-package ;
55
then
66
exit 0
77
fi

β€Žintegration-tests/package-gets-updated/__snapshots__/package-gets-updated.test.ts.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ exports[`Test package-gets-updated: 01: warning when the patch was applied but v
1515
success Saved lockfile.
1616
success Saved 1 new dependency.
1717
info Direct dependencies
18-
└─ [email protected]
18+
└─ @unts/[email protected]
1919
info All dependencies
20-
└─ [email protected]
20+
└─ @unts/[email protected]
2121
$ patch-package
2222
patch-package 0.0.0
2323
Applying patches...

β€Žintegration-tests/unexpected-patch-creation-failure/unexpected-patch-creation-failure.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ echo "modify left-pad"
99
npx replace leftPad patchPackage node_modules/left-pad/index.js
1010

1111
echo "force patch-package to fail"
12-
npx replace 'parsePatchFile\(' 'blarseBlatchBlile(' node_modules/patch-package/dist/makePatch.js
12+
npx replace 'parsePatchFile\(' 'blarseBlatchBlile(' node_modules/@unts/patch-package/dist/makePatch.js
1313

1414
echo "there is no error log file"
1515
if ls ./patch-package-error.json.gz

0 commit comments

Comments
Β (0)