diff --git a/src/fixtures/nuxt/async.expected.js b/src/fixtures/nuxt/async.expected.js index c7e9ce8..50c2e4f 100644 --- a/src/fixtures/nuxt/async.expected.js +++ b/src/fixtures/nuxt/async.expected.js @@ -1,18 +1,17 @@ const getAllDynamicRoute = async function() { - const routes = await (async () => { - return ['/posts/hello-world', '/posts/hello-again']; - })(); - return routes; - }; - - export default { - target: 'static', - router: {base: '/docs/'}, - mode: 'universal', - generate: { - async routes () { - return getAllDynamicRoute(); - } + const routes = await (async () => { + return ['/posts/hello-world', '/posts/hello-again']; + })(); + return routes; +}; + +export default { + target: 'static', + router: {base: '/docs/'}, + mode: 'universal', + generate: { + async routes () { + return getAllDynamicRoute(); } - }; - \ No newline at end of file + } +};