hanford / next-offline

make your Next.js application work offline using service workers via Google's workbox
https://github.com/hanford/next-offline
1.59k stars 111 forks source link

Tests are failing #253

Open paulintrognon opened 4 years ago

paulintrognon commented 4 years ago

Hello, the jest tests are failing:

 FAIL  ./test.js (37.428s)ages ...
  ✓ withOffline builds a service worker file with auto-registration logic (8682ms)
  ✓ withOffline builds a service worker file without auto-registration logic when the consumer opts out (6428ms)
  ✕ withOffline includes static assets and build artifacts in its service worker pre-cache (6144ms)
  ✕ withOffline pre-caches the generated manifest from withManifest (7293ms)
  ✓ withOffline respects "swDest" (6660ms)

Steps to reproduce

git clone git@github.com:hanford/next-offline.git && cd next-offline
yarn
yarn test