Skip to content

Commit

Permalink
test: add failing test for (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Aug 25, 2018
1 parent 511261c commit 3c99328
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/pwa.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ describe('pwa', () => {
const swContents = await fs.readFile(path.resolve(nuxt.options.generate.dir, 'sw.js'), 'utf-8')

expect(swContents).toContain("new RegExp('/_nuxt/.*')")
expect(swContents).toContain('"url": "/_nuxt/app.js"')
})
})

0 comments on commit 3c99328

Please sign in to comment.