-
Notifications
You must be signed in to change notification settings - Fork 774
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
Remix Test #644
Remix Test #644
Conversation
…solving fetch. Added a Promise flush since the function is used in a unique environment that is bleeding into Parent or Child process. - Additionally added a cleanup of the child process at the end of the tests, should make sure port 8789 is opened back up.
|
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2006562776/npm-package-wrangler-644 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/644/npm-package-wrangler-644 Or you can use npx https://prerelease-registry.developers.workers.dev/runs/2006562776/npm-package-wrangler-644 dev path/to/script.js |
Well... that's 30 seconds. Back to the drawing board. |
Could be the async nature of |
Closed due to #670 |
The issue with tests randomly failing in CI/CD was related Remix tests, there were some logic waiting for a fetch of a spin up of a Remix server in a
spawn
(ChildProcess).waitUntilReady
with Promise and setTimeout resolving fetch.