2 lines
No EOL
159 B
TypeScript
2 lines
No EOL
159 B
TypeScript
export const ifit = (condition: boolean) => (condition ? it : it.skip)
|
|
export const ifdescribe = (condition: boolean) => (condition ? describe : describe.skip) |