mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-25 00:31:36 +08:00
fix(test): pin version of @angular/service-worker
This commit is contained in:
parent
3f9bf1bac7
commit
f15a3b32f4
@ -13,7 +13,7 @@ export default function() {
|
||||
|
||||
// Can't use the `ng` helper because somewhere the environment gets
|
||||
// stuck to the first build done
|
||||
return silentNpm('install', '@angular/service-worker')
|
||||
return silentNpm('install', '@angular/service-worker@1.0.0-beta.16')
|
||||
.then(() => ng('set', 'apps.0.serviceWorker=true'))
|
||||
.then(() => ng('build', '--prod'))
|
||||
.then(() => expectFileToExist(join(process.cwd(), 'dist')))
|
||||
|
Loading…
x
Reference in New Issue
Block a user