fix(deps): keep Lucide SVG markup and Undici tests compatible

Build standalone SVG icons without a React context. Use accessible actions in tests and give the mocked dispatchers the interface the adapter expects.
This commit is contained in:
Maurice
2026-12-01 13:44:02 +01:00
parent 7f4ece2e6f
commit b77c246df4
15 changed files with 107 additions and 40 deletions
@@ -23,6 +23,7 @@ vi.mock('dns/promises', () => ({
vi.mock('undici', async (importOriginal) => ({
...(await importOriginal<typeof import('undici')>()),
Agent: class MockAgent {
dispatch = vi.fn();
options: any;
constructor(opts: any) {
this.options = opts;