Skip to content

Commit

Permalink
skip vite tests on windows, because they are flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
timofei-iatsenko committed Jan 16, 2025
1 parent f12123d commit 33d97f8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/vite-plugin/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ import path from "path"
import { exec as _exec } from "child_process"
import { mkdtempSync } from "fs"
import os from "os"
import { platform } from "node:os"

describe("vite-plugin", () => {
const skipOnWindows = platform() === "win32" ? describe.skip : describe

skipOnWindows("vite-plugin", () => {
it("should return compiled catalog", async () => {
const mod = await runVite(`po-format/vite.config.ts`)
expect((await mod.load()).messages).toMatchSnapshot()
Expand Down

0 comments on commit 33d97f8

Please sign in to comment.