Skip to content

Conversation

@jescalada
Copy link
Contributor

@jescalada jescalada commented Sep 14, 2025

Fixes #1150, built on top of #1166.

Not all tests were perfectly refactored from Chai/Mocha -> Vitest. Some required partial or total rewriting to get them to play nice.

Some tests, specifically the proxy-related tests (proxy.test.ts, testProxy.test.ts and most importantly testProxyRoute.test.ts) have been very problematic for some reason - the tests in testPush.test.ts seem to fail in the CI when some of the proxy tests execute prior. They fail on the first execution locally, and then pass without issue (maybe a caching/cleanup problem).

Coverage has dropped somewhat to 80.5%, but we should see an increase after removing unused/untested code such as plugin stuff.

Note that the CI is failing due to the new Blue Oak license.

jescalada and others added 30 commits August 24, 2025 09:39
Co-authored-by: j-k <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: j-k <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: j-k <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: j-k <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
jescalada and others added 18 commits November 18, 2025 09:05
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
Co-authored-by: Kris West <[email protected]>
Signed-off-by: Juan Escalada <[email protected]>
@jescalada jescalada force-pushed the 1150-vitest-migration-from-service branch from 4b9b89b to 61d349f Compare November 21, 2025 13:17
@jescalada
Copy link
Contributor Author

@kriswest I think this is ready for another look - hoping to get the v2 release ready soon!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate tests from Mocha + JS to Vitest + TS

4 participants