We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8d123c commit bff70beCopy full SHA for bff70be
packages/vitest/src/typecheck/collect.ts
@@ -97,6 +97,13 @@ export async function collectTests(
97
// call as `__vite_ssr__.test.skip()`
98
return getName(callee.object?.property)
99
}
100
+ // unwrap (0, ...)
101
+ if (callee.type === 'SequenceExpression' && callee.expressions.length === 2) {
102
+ const [e0, e1] = callee.expressions
103
+ if (e0.type === 'Literal' && e0.value === 0) {
104
+ return getName(e1)
105
+ }
106
107
return null
108
109
0 commit comments