one icon indicating copy to clipboard operation
one copied to clipboard

[dev] add `server-only` tests

Open zetavg opened this issue 1 year ago • 2 comments

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

zetavg avatar Jan 05 '25 16:01 zetavg

🚅 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

railway-app[bot] avatar Jan 05 '25 16:01 railway-app[bot]

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

barziahmed avatar Jan 29 '25 18:01 barziahmed