This is what I did in rescript-bun
- a regular describe
function, and a Describe
module with skipIf
: https://github.com/zth/rescript-bun/blob/main/src/Test.res#L53-L105
describe("whatever", () => { ... })
vs
Describe.skipIf(true, () => { ... })
Makes it pretty easy to work with, just capitalize describe
and add skipIf
. Not as discoverable as describe.skipIf
would be though of course.