mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
test: fix syntax error
This commit is contained in:
parent
b1199f8fa4
commit
6c48ad2038
@ -32,6 +32,7 @@ describe('error', () => {
|
|||||||
await expect(nuxt.renderAndGetWindow(url('/'))).rejects.toMatchObject({
|
await expect(nuxt.renderAndGetWindow(url('/'))).rejects.toMatchObject({
|
||||||
statusCode: 500
|
statusCode: 500
|
||||||
})
|
})
|
||||||
|
})
|
||||||
|
|
||||||
test('Error: resolvePath()', async () => {
|
test('Error: resolvePath()', async () => {
|
||||||
expect(() => nuxt.resolvePath()).toThrowError(TypeError)
|
expect(() => nuxt.resolvePath()).toThrowError(TypeError)
|
||||||
|
Loading…
Reference in New Issue
Block a user