Dmitry Zakharov

Results 217 comments of Dmitry Zakharov

You can reimplement toHaveBeenCalled with something like this: ```re let mockFoo = Jest.JestJs.fn(() => ()) expect(mockFoo->Jest.MockJs.calls->Js.Array2.length)->JExp.not_->JExp.toBe(0, _) ``` But, yeah, it would be great to have more bindings out of...

Also, if you need a parser library, it'll be well supported in `rescript-struct@5` https://github.com/DZakh/rescript-struct/blob/f6dfc93/CHANGELOG_NEXT.md#opt-in-ppx-support

According to the code, the issue has been fixed.

How about to fix it in 11.1?

Oh sorry, I forgot. I'll try to find time tomorrow

I've figured out how it works, so I'll modify the PR to solve the problem in a more complete way. And the https://github.com/rescript-lang/rescript-vscode/pull/932 is ready to be merged. How it...