mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +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 { describe, expect, it } from 'vitest'
|
||||
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'
|
||||
// eslint-disable-next-line import/order
|
||||
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 () => {
|
||||
const payload = await $fetch('/random/a/_payload.js', { responseType: 'text' })
|
||||
expect(payload).toMatch(
|
||||
|
Loading…
Reference in New Issue
Block a user