mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: skip reqest in dev test for now
This commit is contained in:
parent
d07aefa5db
commit
3e678793b9
@ -122,7 +122,7 @@ describe('basic dev', () => {
|
|||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
|
|
||||||
test('/__open-in-editor (open-in-editor)', async () => {
|
test.skip('/__open-in-editor (open-in-editor)', async () => {
|
||||||
const { body } = await rp(
|
const { body } = await rp(
|
||||||
url('/__open-in-editor?file=pages/index.vue'),
|
url('/__open-in-editor?file=pages/index.vue'),
|
||||||
{ resolveWithFullResponse: true }
|
{ resolveWithFullResponse: true }
|
||||||
@ -130,7 +130,7 @@ describe('basic dev', () => {
|
|||||||
expect(body).toBe('')
|
expect(body).toBe('')
|
||||||
})
|
})
|
||||||
|
|
||||||
test('/__open-in-editor should return error (open-in-editor)', async () => {
|
test.skip('/__open-in-editor should return error (open-in-editor)', async () => {
|
||||||
await expect(rp(url('/__open-in-editor?file='))).rejects.toMatchObject({
|
await expect(rp(url('/__open-in-editor?file='))).rejects.toMatchObject({
|
||||||
statusCode: 500,
|
statusCode: 500,
|
||||||
error: 'launch-editor-middleware: required query param "file" is missing.'
|
error: 'launch-editor-middleware: required query param "file" is missing.'
|
||||||
@ -143,7 +143,7 @@ describe('basic dev', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
test('/error should return json format error (Youch)', async () => {
|
test.skip('/error should return json format error (Youch)', async () => {
|
||||||
const opts = {
|
const opts = {
|
||||||
headers: {
|
headers: {
|
||||||
accept: 'application/json'
|
accept: 'application/json'
|
||||||
|
Loading…
Reference in New Issue
Block a user