diff --git a/test/basic.test.js b/test/basic.test.js
index d71daf15f0..6afc42226a 100755
--- a/test/basic.test.js
+++ b/test/basic.test.js
@@ -42,6 +42,11 @@ test('/stateful', async t => {
t.true(html.includes('
'))
})
+test('/store', async t => {
+ const { html } = await nuxt.renderRoute('/store')
+ t.true(html.includes('Vuex Nested Modules
'))
+})
+
test('/head', async t => {
const window = await nuxt.renderAndGetWindow(url('/head'), { virtualConsole: false })
const html = window.document.body.innerHTML
diff --git a/test/fixtures/basic/pages/store.vue b/test/fixtures/basic/pages/store.vue
new file mode 100644
index 0000000000..d95f1d3868
--- /dev/null
+++ b/test/fixtures/basic/pages/store.vue
@@ -0,0 +1,11 @@
+
+ {{ baz }}
+
+
+
diff --git a/test/fixtures/basic/store/foo/bar.js b/test/fixtures/basic/store/foo/bar.js
new file mode 100644
index 0000000000..43b5268f5e
--- /dev/null
+++ b/test/fixtures/basic/store/foo/bar.js
@@ -0,0 +1,9 @@
+export const state = {
+ baz: 'Vuex Nested Modules'
+}
+
+export const getters = {
+ baz (state) {
+ return state.baz
+ }
+}