Skip to content

Conversation

@zetavg
Copy link
Collaborator

@zetavg zetavg commented Jan 5, 2025

Related to #363.

Not working since the beforeAll hook will run for every test file and the second test file will fail due to

 FAIL  tests/server-only.test.ts [ tests/server-only.test.ts ]
Error: Port 3111 is already in use, please check if other processes are listening on this port (lsof -i:3111) and stop them, as they might interfere with the tests

@railway-app
Copy link

railway-app bot commented Jan 5, 2025

🚅 Deployed to the one-pr-372 environment in onestack.dev

Service Status Web Updated (UTC)
one ❌ Build Failed (View Logs) Web Jan 5, 2025 at 4:29 pm

@zetavg zetavg changed the title [dev] add server-only tests [dev] add server-only tests Jan 5, 2025
@barziahmed
Copy link

Hi @zetavg,
Besides "server-only" package, there is also "client-only". Is it needed to test it, too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants