test: fix pwa spec after defaults change

This commit is contained in:
Evan You
2018-04-25 15:35:50 -04:00
parent 1177cf0b41
commit eb7f8514ac

View File

@@ -39,7 +39,7 @@ test('pwa', async () => {
// PWA specific directives
expect(index).toMatch(`<link rel=manifest href=/manifest.json>`)
expect(index).toMatch(`<!--[if IE]><link rel="shortcut icon" href="/favicon.ico"><![endif]-->`)
expect(index).toMatch(`<meta name=apple-mobile-web-app-capable content=yes>`)
expect(index).toMatch(`<meta name=apple-mobile-web-app-capable content=no>`)
// should import service worker script
const main = await project.read('src/main.js')