Skip to content

Commit

Permalink
test: skip test on windows due to unexpected fetch behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
mrstork committed May 17, 2024
1 parent c8559fe commit 58dd3fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/commands/dev/dev-miscellaneous.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Buffer } from 'buffer'
import path from 'path'
import { platform } from 'process'
import { fileURLToPath } from 'url'

import { setProperty } from 'dot-prop'
Expand Down Expand Up @@ -752,6 +753,9 @@ describe.concurrent('commands/dev-miscellaneous', () => {
})

test('should detect content changes in edge functions', async (t) => {
// on windows, fetch throws an error while files are refreshing instead of returning the old value
if (platform === 'win32') return

await withSiteBuilder(t, async (builder) => {
const publicDir = 'public'
builder
Expand Down

0 comments on commit 58dd3fe

Please sign in to comment.