Skip to content

Commit

Permalink
test: re-enable service worker test
Browse files Browse the repository at this point in the history
  • Loading branch information
filipesilva authored and hansl committed Mar 29, 2018
1 parent 11dc7a9 commit ceb2588
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/tests/build/service-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export default function() {
// stuck to the first build done
return silentNpm('remove', '@angular/service-worker')
.then(() => silentNpm('install', '@angular/service-worker'))
.then(() => ng('config', 'apps.0.serviceWorker', 'true'))
.then(() => writeFile('projects/test-project/src/ngsw-config.json', JSON.stringify(MANIFEST, null, 2)))
.then(() => ng('config', 'projects.test-project.architect.build.options.serviceWorker', 'true'))
.then(() => writeFile('projects/test-project/ngsw-config.json', JSON.stringify(MANIFEST, null, 2)))
.then(() => ng('build', '--optimization'))
.then(() => expectFileToExist(join(process.cwd(), 'dist')))
.then(() => expectFileToExist(join(process.cwd(), 'dist/test-project/ngsw.json')))
Expand Down
1 change: 0 additions & 1 deletion tests/e2e_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ const allTests = glob.sync(path.join(e2eRoot, testGlob), { nodir: true, ignore:
.map(name => name.replace(/\\/g, '/'))
.filter(name => !name.endsWith('/build-app-shell-with-schematic.ts'))
.filter(name => !name.endsWith('/bundle-budgets.ts'))
.filter(name => !name.endsWith('/service-worker.ts'))
.filter(name => !name.endsWith('/new-minimal.ts'))
// IS this test still valid? \/
.filter(name => !name.endsWith('/module-id.ts'))
Expand Down

0 comments on commit ceb2588

Please sign in to comment.