(names: string[])
| 1 | import { beforeEach } from 'vitest'; |
| 2 | |
| 3 | export function skipTests(names: string[]) { |
| 4 | beforeEach((ctx) => { |
| 5 | if (ctx.task.suite?.name === 'common' && names.includes(ctx.task.name)) { |
| 6 | ctx.skip(); |
| 7 | } |
| 8 | }); |
| 9 | } |
no outgoing calls
no test coverage detected