Skip to content

Commit

Permalink
fix: update test snap
Browse files Browse the repository at this point in the history
I'm surprised I allowed tests this brittle to make it into the codebase
  • Loading branch information
ryaninvents committed Mar 31, 2020
1 parent dcc0414 commit 57644c3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Array [
"is-sorted/test/fixtures.json",
"is-sorted/test/index.js",
"map-obj",
"map-obj/index.d.ts",
"map-obj/index.js",
"map-obj/license",
"map-obj/package.json",
Expand All @@ -42,6 +43,7 @@ Array [
"nodejs/node_modules/is-sorted/test/fixtures.json",
"nodejs/node_modules/is-sorted/test/index.js",
"nodejs/node_modules/map-obj",
"nodejs/node_modules/map-obj/index.d.ts",
"nodejs/node_modules/map-obj/index.js",
"nodejs/node_modules/map-obj/license",
"nodejs/node_modules/map-obj/package.json",
Expand Down
16 changes: 8 additions & 8 deletions src/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ describe('@ryaninvents/plugin-bundle-dependencies', () => {
dependencies: {
// Use a couple of packages known to basically be one-liners
// in order to test quickly
'is-sorted': 'latest',
'map-obj': 'latest'
'is-sorted': '=1.0.5',
'map-obj': '=4.1.0'
}
},
stdio: 'inherit'
Expand Down Expand Up @@ -158,8 +158,8 @@ describe('@ryaninvents/plugin-bundle-dependencies', () => {
dependencies: {
// Use a couple of packages known to basically be one-liners
// in order to test quickly
'is-sorted': 'latest',
'map-obj': 'latest'
'is-sorted': '=1.0.5',
'map-obj': '=4.1.0'
}
},
stdio: 'inherit'
Expand All @@ -178,8 +178,8 @@ describe('@ryaninvents/plugin-bundle-dependencies', () => {
dependencies: {
// Use a couple of packages known to basically be one-liners
// in order to test quickly
'is-sorted': 'latest',
'map-obj': 'latest'
'is-sorted': '=1.0.5',
'map-obj': '=4.1.0'
}
},
stdio: 'inherit'
Expand All @@ -198,8 +198,8 @@ describe('@ryaninvents/plugin-bundle-dependencies', () => {
dependencies: {
// Use a couple of packages known to basically be one-liners
// in order to test quickly
'is-sorted': 'latest',
'map-obj': 'latest'
'is-sorted': '=1.0.5',
'map-obj': '=4.1.0'
},
'@pika/pack': {
'pipeline': [
Expand Down

0 comments on commit 57644c3

Please sign in to comment.