chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { beforeEach } from 'vitest';
|
||||
|
||||
export function skipTests(names: string[]) {
|
||||
beforeEach((ctx) => {
|
||||
if (ctx.task.suite?.name === 'common' && names.includes(ctx.task.name)) {
|
||||
ctx.skip();
|
||||
}
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user