Cory Maloy

Results 9 comments of Cory Maloy

Is there a way to do this with request body schema? Docs dont seem to mention it.

> We haven't implemented the Node.js `cluster` module yet. Is there a timeline on this? Would love to have this feature!

Not only is the restore not working, modules that are mocked will conflict with other testfiles that also need to mock the given module. Not sure what the path forward...

Additionally mocked modules will conflict with other testfiles that need to mock the same module

I am also experiencing this issue, if anyone has a workaround that would be great

Is `jest.restoreAllMocks()` supposed to work with mock.module? It didn't work for my case. I'm having an issue where two test files are mocking the same module, and causing conflicts for...

Yeah thats unfortunate as it seems you would need a wrapper file for each time you need to mock it. Thanks for the idea though, that may unblock me. UPDATE:...

@masfahru Does this example also load balance to each process somehow? If so, does anyone know how that mechanism works?