test: fix syntax error

This commit is contained in:
Clark Du 2018-03-19 10:14:26 +08:00
parent b1199f8fa4
commit 6c48ad2038
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -32,6 +32,7 @@ describe('error', () => {
await expect(nuxt.renderAndGetWindow(url('/'))).rejects.toMatchObject({
statusCode: 500
})
})
test('Error: resolvePath()', async () => {
expect(() => nuxt.resolvePath()).toThrowError(TypeError)