one
one copied to clipboard
[dev] add `server-only` tests
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
🚅 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 |
Hi @zetavg, Besides "server-only" package, there is also "client-only". Is it needed to test it, too?