mirror of
https://github.com/electron/electron.git
synced 2026-02-08 22:25:14 -05:00
5 lines
253 B
TypeScript
5 lines
253 B
TypeScript
export const ifit = (condition: boolean) => (condition ? it : it.skip);
|
|
export const ifdescribe = (condition: boolean) => (condition ? describe : describe.skip);
|
|
|
|
export const delay = (time: number) => new Promise(resolve => setTimeout(resolve, time));
|