Testing Infrastructure Improvements for new-webui
Background
The current testing setup for the new-webui component uses tap and is described as a 'toy test that doesn't do anything substantial'. As part of the ongoing refactoring to align with Fastify maintainer recommendations, the testing infrastructure needs to be completely redone.
Requirements
- Set up proper separation between unit tests and integration tests
- Consider replacing tap with a more popular testing framework (potential alternatives: jest, mocha, vitest)
- Implement comprehensive testing for the new fastify-v2 app
- Address the TODO comment in
components/log-viewer-webui/server/src/utils/tap.ts regarding testing setup
References
Additional Notes
The integration tests may require the clp package to be running.
Testing Infrastructure Improvements for new-webui
Background
The current testing setup for the new-webui component uses tap and is described as a 'toy test that doesn't do anything substantial'. As part of the ongoing refactoring to align with Fastify maintainer recommendations, the testing infrastructure needs to be completely redone.
Requirements
components/log-viewer-webui/server/src/utils/tap.tsregarding testing setupReferences
Additional Notes
The integration tests may require the clp package to be running.