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:
@@ -26,7 +26,10 @@ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
|
||||
* hour on the strength of a model setting.
|
||||
*/
|
||||
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