Skip to content

Commit

Permalink
test: use fixed static version
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 10, 2020
1 parent 774f1a8 commit 4ebcefe
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/__snapshots__/pwa.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ Array [
"fixture/dist/_nuxt/icons/splash_iphonexsmax_1242x2688.b8f3a1.png",
"fixture/dist/_nuxt/manifest_test.webmanifest",
"fixture/dist/_nuxt/static",
"fixture/dist/_nuxt/static/1602326610",
"fixture/dist/_nuxt/static/1602326610/bar",
"fixture/dist/_nuxt/static/1602326610/baz",
"fixture/dist/_nuxt/static/1602326610/foo",
"fixture/dist/_nuxt/static/default",
"fixture/dist/_nuxt/static/default/bar",
"fixture/dist/_nuxt/static/default/baz",
"fixture/dist/_nuxt/static/default/foo",
"fixture/dist/bar",
"fixture/dist/bar/index.html",
"fixture/dist/baz",
Expand Down
7 changes: 7 additions & 0 deletions test/fixture/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
module.exports = {
dev: false,
rootDir: __dirname,

target: 'static',

generate: {
staticAssets: {
version: 'default'
}
},

buildModules: [
{ handler: require('../../') }
],
Expand Down

0 comments on commit 4ebcefe

Please sign in to comment.