fix(test): pin version of @angular/service-worker

This commit is contained in:
Alex Rickabaugh 2017-11-01 11:59:00 -07:00 committed by Hans
parent 3f9bf1bac7
commit f15a3b32f4

View File

@ -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')))