test: update side-effects test to be more descriptive (#31005)

This test will now list diffs for failed expectations and the full command to update them.

Fix #30570

PR Close #31005
This commit is contained in:
Filipe Silva 2019-06-12 16:11:14 +01:00 committed by Andrew Kushnir
parent 7a53b9090e
commit bc04d18420
2 changed files with 12 additions and 6 deletions

View File

@ -123,7 +123,7 @@
"@types/minimist": "^1.2.0", "@types/minimist": "^1.2.0",
"@types/systemjs": "0.19.32", "@types/systemjs": "0.19.32",
"browserstacktunnel-wrapper": "2.0.1", "browserstacktunnel-wrapper": "2.0.1",
"check-side-effects": "0.0.20", "check-side-effects": "0.0.21",
"clang-format": "1.0.41", "clang-format": "1.0.41",
"cldr": "4.10.0", "cldr": "4.10.0",
"cldr-data-downloader": "0.3.2", "cldr-data-downloader": "0.3.2",
@ -165,4 +165,4 @@
"resolutions": { "resolutions": {
"natives": "1.1.6" "natives": "1.1.6"
} }
} }

View File

@ -2005,12 +2005,13 @@ check-error@^1.0.2:
resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82"
integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=
check-side-effects@0.0.20: check-side-effects@0.0.21:
version "0.0.20" version "0.0.21"
resolved "https://registry.yarnpkg.com/check-side-effects/-/check-side-effects-0.0.20.tgz#b35cbb1f2eb210c1a051c7d78aa9fbd939ee31ea" resolved "https://registry.yarnpkg.com/check-side-effects/-/check-side-effects-0.0.21.tgz#6127c933d329e0806df940701f9cd62f51bffb19"
integrity sha512-tx7dvqAK0z8PM/gTTnfi6oW1Scn9f8EbMSZ1mu//4oIpNWF6ZNW2SFX7Cnsgq9xZjYeoD+YaUVx9CC0fEFizkQ== integrity sha512-tv64B+krepm3P4v5L76LngaiD0YSDpNepRoMLGQ9yOGVQKe1XrYLk7EpynEG8z5YNKxhC7uzt1kCSspM3Kei0Q==
dependencies: dependencies:
"@angular-devkit/build-optimizer" "0.14.0-beta.5" "@angular-devkit/build-optimizer" "0.14.0-beta.5"
diff "^4.0.1"
minimist "~1.2.0" minimist "~1.2.0"
rollup "~1.11.3" rollup "~1.11.3"
rollup-plugin-node-resolve "~4.2.3" rollup-plugin-node-resolve "~4.2.3"
@ -3267,6 +3268,11 @@ diff@^3.2.0, diff@^3.5.0:
resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12"
integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==
diff@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.1.tgz#0c667cb467ebbb5cea7f14f135cc2dba7780a8ff"
integrity sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==
doctrine@^0.7.2: doctrine@^0.7.2:
version "0.7.2" version "0.7.2"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-0.7.2.tgz#7cb860359ba3be90e040b26b729ce4bfa654c523"