test(zone.js): test zone.js package with tgz (#38649)

Zone.js 0.11.0 release an empty bundle, and now the npm_package tests all target
bazel rule `npm_package`, but not `npm_package.pack`, and these two rules may
generate different results, for example, Zone.js 0.11.0's issue is `package.json`
define files array which make the bundle only include the files in the files array.
So this PR install the zone.js package from the archive generated from `npm_package.pack` rule.

PR Close #38649
This commit is contained in:
JiaLiPassion
2020-08-31 13:48:41 +09:00
committed by Andrew Kushnir
parent ad372f2d20
commit d37939623f
23 changed files with 38 additions and 24 deletions

View File

@ -41,7 +41,7 @@
"core-js": "file:../../node_modules/core-js",
"rxjs": "file:../../node_modules/rxjs",
"systemjs": "file:../../node_modules/systemjs",
"zone.js": "file:../../dist/zone.js-dist/zone.js"
"zone.js": "file:../../dist/zone.js-dist/archive/zone.js.tgz"
},
"//resolutions-comment": "Ensure a single version of webdriver-manager which comes from root node_modules that has already run webdriver-manager update",
"resolutions": {