mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
test: disable payload tests for windows
(might be because of unstability)
This commit is contained in:
parent
fe5b1c21ae
commit
068e127551
@ -1,7 +1,7 @@
|
|||||||
import { fileURLToPath } from 'node:url'
|
import { fileURLToPath } from 'node:url'
|
||||||
import { describe, expect, it } from 'vitest'
|
import { describe, expect, it } from 'vitest'
|
||||||
import { joinURL } from 'ufo'
|
import { joinURL } from 'ufo'
|
||||||
// import { isWindows } from 'std-env'
|
import { isWindows } from 'std-env'
|
||||||
import { setup, fetch, $fetch, startServer, createPage, url } from '@nuxt/test-utils'
|
import { setup, fetch, $fetch, startServer, createPage, url } from '@nuxt/test-utils'
|
||||||
// eslint-disable-next-line import/order
|
// eslint-disable-next-line import/order
|
||||||
import { expectNoClientErrors, renderPage } from './utils'
|
import { expectNoClientErrors, renderPage } from './utils'
|
||||||
@ -586,7 +586,7 @@ describe('app config', () => {
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
describe.skipIf(process.env.NUXT_TEST_DEV)('payload rendering', () => {
|
describe.skipIf(process.env.NUXT_TEST_DEV || isWindows)('payload rendering', () => {
|
||||||
it('renders a payload', async () => {
|
it('renders a payload', async () => {
|
||||||
const payload = await $fetch('/random/a/_payload.js', { responseType: 'text' })
|
const payload = await $fetch('/random/a/_payload.js', { responseType: 'text' })
|
||||||
expect(payload).toMatch(
|
expect(payload).toMatch(
|
||||||
|
Loading…
Reference in New Issue
Block a user