Skip to content

Tests: migrate from karma (deprecated) to vitest#259

Open
larabr wants to merge 1 commit intoProtonMail:mainfrom
larabr:migrate-karma-to-vitest
Open

Tests: migrate from karma (deprecated) to vitest#259
larabr wants to merge 1 commit intoProtonMail:mainfrom
larabr:migrate-karma-to-vitest

Conversation

@larabr
Copy link
Copy Markdown
Collaborator

@larabr larabr commented Apr 1, 2026

Supersede #210 , since vitest takes care of bundling the lib as needed without additional setup.

PS: the following Buffer-related message is logged to stderr, and it's due to BN.js and elliptic referencing Buffer, but it does not cause actual test failure. We leave it unhandled instead of providing a polyfill to be check that no part of the code actually relies on Buffer.

Module "buffer" has been externalized for browser compatibility. Cannot access "buffer.Buffer" in client code. See https://vite.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

@larabr larabr force-pushed the migrate-karma-to-vitest branch from 4b24026 to 7800879 Compare April 1, 2026 09:26
@larabr larabr force-pushed the migrate-karma-to-vitest branch from 7800879 to 1324048 Compare April 1, 2026 10:26
@larabr larabr force-pushed the migrate-karma-to-vitest branch from 1324048 to 0e602d3 Compare April 1, 2026 10:34
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.

2 participants