Skip to content

Commit

Permalink
fix: rerunning test-linux to update snapshot for upstream dep that no…
Browse files Browse the repository at this point in the history
…w uses additional depedencies (#6403)
  • Loading branch information
mmaietta committed Nov 9, 2021
1 parent a5e8073 commit 434d388
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -19,7 +19,7 @@
"///": "Please see https://github.com/electron-userland/electron-builder/blob/master/CONTRIBUTING.md#run-test-using-cli how to run particular test instead full (and very slow) run",
"test": "node ./test/out/helpers/runTests.js skipArtifactPublisher",
"test-all": "pnpm pretest && node ./test/out/helpers/runTests.js",
"test-linux": "docker run --rm -ti -e UPDATE_SNAPSHOT=${UPDATE_SNAPSHOT:-false} -e TEST_FILES=\"${TEST_FILES:-HoistedNodeModuleTest}\" -v $(pwd):/project -v $(pwd)-node-modules:/project/node_modules -v $HOME/Library/Caches/electron:/root/.cache/electron -v $HOME/Library/Caches/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine /bin/bash -c \"pnpm install && pnpm node ./test/out/helpers/runTests.js\"",
"test-linux": "docker run --rm -ti -e UPDATE_SNAPSHOT=${UPDATE_SNAPSHOT:-false} -e TEST_FILES=\"${TEST_FILES:-HoistedNodeModuleTest}\" -v $(pwd):/project -v $(pwd)-node-modules:/project/node_modules -v $HOME/Library/Caches/electron:/root/.cache/electron -v $HOME/Library/Caches/electron-builder:/root/.cache/electron-builder electronuserland/builder:wine /bin/bash -c \"pnpm install && node ./test/out/helpers/runTests.js\"",
"test-update": "UPDATE_SNAPSHOT=true pnpm test-all",
"docker-images": "docker/build.sh",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
Expand Down
49 changes: 39 additions & 10 deletions test/snapshots/BuildTest.js.snap
Expand Up @@ -693,6 +693,32 @@ Object {
},
},
},
"emoji-regex": Object {
"files": Object {
"LICENSE-MIT.txt": Object {
"size": 1077,
},
"es2015": Object {
"files": Object {
"index.js": Object {
"size": 11104,
},
"text.js": Object {
"size": 11105,
},
},
},
"index.js": Object {
"size": 10286,
},
"package.json": Object {
"size": 852,
},
"text.js": Object {
"size": 10287,
},
},
},
"end-of-stream": Object {
"files": Object {
"LICENSE": Object {
Expand Down Expand Up @@ -1691,69 +1717,72 @@ Object {
"wide-align": Object {
"files": Object {
"LICENSE": Object {
"executable": true,
"size": 752,
},
"align.js": Object {
"executable": true,
"size": 1428,
},
"node_modules": Object {
"files": Object {
"ansi-regex": Object {
"files": Object {
"index.js": Object {
"size": 253,
"size": 350,
},
"license": Object {
"size": 1109,
},
"package.json": Object {
"size": 420,
"size": 470,
},
},
},
"is-fullwidth-code-point": Object {
"files": Object {
"index.js": Object {
"size": 1393,
"size": 1756,
},
"license": Object {
"size": 1119,
"size": 1109,
},
"package.json": Object {
"size": 481,
"size": 537,
},
},
},
"string-width": Object {
"files": Object {
"index.js": Object {
"size": 649,
"size": 923,
},
"license": Object {
"size": 1109,
},
"package.json": Object {
"size": 554,
"size": 633,
},
},
},
"strip-ansi": Object {
"files": Object {
"index.js": Object {
"size": 150,
"size": 154,
},
"license": Object {
"size": 1109,
},
"package.json": Object {
"size": 446,
"size": 511,
},
},
},
},
},
"package.json": Object {
"size": 517,
"executable": true,
"size": 579,
},
},
},
Expand Down

0 comments on commit 434d388

Please sign in to comment.