Skip to content

Commit

Permalink
test(hasLockfileCommit): adapt the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hulkoba authored and janl committed Jul 17, 2018
1 parent c0d4226 commit 63d35a9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/__snapshots__/update.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
exports[`monorepo: no package.json 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand All @@ -14,7 +14,7 @@ Array [
exports[`monorepo: no root and one sub package 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand All @@ -39,7 +39,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: no root and two sub package 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down Expand Up @@ -71,7 +71,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: no root and two sub package at different levels 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down Expand Up @@ -103,7 +103,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: root and one sub package 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down Expand Up @@ -135,7 +135,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: root and two sub package 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down Expand Up @@ -174,7 +174,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: root and two sub package at different levels 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down Expand Up @@ -213,7 +213,7 @@ https://npm.im/greenkeeper-lockfile\\"",
exports[`monorepo: root package 1`] = `
Array [
"git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*",
"git fetch",
"git fetch gk-origin",
"git stash",
"git checkout master",
"git log --oneline origin/greenkeeper/my-dependency-1.0.0...master | grep 'chore(package): update lockfile'",
Expand Down

0 comments on commit 63d35a9

Please sign in to comment.