Random port finding with multiple test suites #1085
Unanswered
brainafesoh
asked this question in
General
Replies: 1 comment 1 reply
-
Hey @brainafesoh, Nexus framework should already start the server on random ports using the Are you using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!!
I have a graphql-nexus app with 2 test suites(different test files) I'm trying to test. When I run the tests, only one of the test suites runs successfully, and I get the following error showing that the other is trying to run on the same port.
I guess the solution here will be to randomize the port on which the test server launches; may be in the
_helper.ts
file.Need help accomplishing that anyways.
Beta Was this translation helpful? Give feedback.
All reactions