Skip to content

Commit 7792645

Browse files
ricardogobbosouzapi0
authored andcommitted
test(module): explicitly call nuxt.ready() (#43)
1 parent 6bfbcad commit 7792645

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/module.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const get = path => request(url(path))
1616

1717
const setupNuxt = async (config) => {
1818
const nuxt = new Nuxt(config)
19+
await nuxt.ready()
1920
await nuxt.listen(3000)
2021

2122
return nuxt

0 commit comments

Comments
 (0)