Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
chore: update snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
giovagnoli committed Oct 10, 2018
1 parent c665884 commit 49bc2dc
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions test/config/__snapshots__/nuxt.spec.js.snap
Expand Up @@ -282,10 +282,29 @@ Object {
"sourceDir": "../.tmp/advanced",
},
"workbox": Object {
"_runtimeCaching": Array [
Object {
"handler": "cacheFirst",
"method": "GET",
"urlPattern": "/static/(?!content).*$",
},
],
"cacheId": "title",
"globDirectory": "../.tmp/advanced/.statusfy/dist/client",
"offlinePage": "/offline",
"publicPath": "/static/",
"runtimeCaching": Array [
Object {
"strategyOptions": Object {
"cacheExpiration": Object {
"maxAgeSeconds": 300,
"maxEntries": 10,
},
"cacheName": "title_title_title_api",
},
"urlPattern": "(/static/content)?/api/v1/.*",
},
],
},
}
`;
Expand Down Expand Up @@ -495,10 +514,29 @@ Object {
"sourceDir": "../.tmp/cli",
},
"workbox": Object {
"_runtimeCaching": Array [
Object {
"handler": "cacheFirst",
"method": "GET",
"urlPattern": "/static/(?!content).*$",
},
],
"cacheId": "title",
"globDirectory": "../.tmp/cli/.statusfy/dist/client",
"offlinePage": "/offline",
"publicPath": "/static/",
"runtimeCaching": Array [
Object {
"strategyOptions": Object {
"cacheExpiration": Object {
"maxAgeSeconds": 300,
"maxEntries": 10,
},
"cacheName": "title_title_api",
},
"urlPattern": "(/static/content)?/api/v1/.*",
},
],
},
}
`;
Expand Down Expand Up @@ -695,10 +733,29 @@ Object {
"sourceDir": "../.tmp/simple",
},
"workbox": Object {
"_runtimeCaching": Array [
Object {
"handler": "cacheFirst",
"method": "GET",
"urlPattern": "/static/(?!content).*$",
},
],
"cacheId": "title",
"globDirectory": "../.tmp/simple/.statusfy/dist/client",
"offlinePage": "/offline",
"publicPath": "/static/",
"runtimeCaching": Array [
Object {
"strategyOptions": Object {
"cacheExpiration": Object {
"maxAgeSeconds": 300,
"maxEntries": 10,
},
"cacheName": "title_api",
},
"urlPattern": "(/static/content)?/api/v1/.*",
},
],
},
}
`;

0 comments on commit 49bc2dc

Please sign in to comment.