Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add mock function #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: add mock function #6

wants to merge 1 commit into from

Conversation

DCKT
Copy link
Contributor

@DCKT DCKT commented Feb 19, 2024

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 😄

@zth
Copy link
Owner

zth commented Feb 19, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants