rescript-bun icon indicating copy to clipboard operation
rescript-bun copied to clipboard

feat: add mock function

Open DCKT opened this issue 1 year ago • 1 comments

Hi again,

I needed the mock function. I think we should have an identity conversion for function instead of Obj.magic . If you have any ideas 😄

DCKT avatar Feb 19 '24 08:02 DCKT

@DCKT might be worth looking at rescript-jest for how mocks are treated there? Bun copies Jest AFAIK.

zth avatar Feb 19 '24 09:02 zth