mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: update test/unit/nuxt
This commit is contained in:
parent
965c2a6c55
commit
08d298d35c
@ -39,7 +39,7 @@ describe('nuxt', () => {
|
||||
await nuxt.server.listen(port, 'localhost')
|
||||
|
||||
const { html } = await nuxt.server.renderRoute('/')
|
||||
expect(html.includes('Universal Vue.js Applications')).toBe(true)
|
||||
expect(html.includes('<h2 class="Landscape__Title">')).toBe(true)
|
||||
expect(/Landscape__Page__Explanation/.test(html)).toBe(true)
|
||||
|
||||
await nuxt.close()
|
||||
|
Loading…
Reference in New Issue
Block a user