We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b82fe1 commit caaeaabCopy full SHA for caaeaab
packages/@vue/cli-plugin-pwa/__tests__/pwaPlugin.spec.js
@@ -59,7 +59,7 @@ test('pwa', async () => {
59
browser = launched.browser
60
61
// workbox plugin fetches scripts from CDN so it takes a while...
62
- await new Promise(r => setTimeout(r, 2000))
+ await new Promise(r => setTimeout(r, process.env.CI ? 5000 : 2000))
63
const logs = launched.logs
64
expect(logs.some(msg => msg.match(/Content has been cached for offline use/))).toBe(true)
65
expect(logs.some(msg => msg.match(/App is being served from cache by a service worker/))).toBe(true)
0 commit comments