mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-01 17:03:15 +00:00
chore(deps): update npm packages and adapt major upgrades
Resolve the MikroORM packages together and use the dispatcher adapter with older built-in fetch implementations. Preserve existing Lucide names and regenerate the Studio and SDK catalogs.
This commit is contained in:
@@ -21,7 +21,10 @@ import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
|
||||
* for a hung host and read whatever size the host sent back into memory.
|
||||
*/
|
||||
const { AgentMock } = vi.hoisted(() => ({ AgentMock: vi.fn() }));
|
||||
vi.mock('undici', () => ({ Agent: AgentMock }));
|
||||
vi.mock('undici', async (importOriginal) => ({
|
||||
...(await importOriginal<typeof import('undici')>()),
|
||||
Agent: AgentMock,
|
||||
}));
|
||||
|
||||
vi.mock('dns/promises', () => ({ default: { lookup: vi.fn() }, lookup: vi.fn() }));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user