Replies: 1 comment
-
|
Not sure what the question is, but maybe this helps?
import { test } from 'vitest'
const isWindows = process.platform === 'win32';
test.skipIf(isWindows)('example', () => {
// Skipped on Windows
})
test.runIf(isWindows)('example', () => {
// Run only on Windows
}) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a test instance that fails on Windows but succeeds on Mac. It seems to be due to differences in the client environment. So, when running cr, can it be guaranteed to succeed in different client environments?
Beta Was this translation helpful? Give feedback.
All reactions