main
main copied to clipboard
Support JSDOM testenvironment
I couldn't start your server in the JS DOM environment because I get the error: ReferenceError: setImmediate is not defined.
Is there a way to run a server in a JSDOM environment?
I tried to work with documentation:
- https://www.mocks-server.org/docs/integrations/openapi/#examples-1
- https://www.mocks-server.org/docs/integrations/javascript/
Hi @doox911-opensource ,
Could you please provide more details about your specific setup? I mean, it would be very useful to know your dependencies, Node.js version, operating system, Jest setup (if you are using this library, of course), and any other valuable information in order to be able to reproduce the issue. If possible, a public repository containing all the needed setup for getting the error would be great!
Thanks in advance.