diff --git a/packages/core/tests/telemetry.test.ts b/packages/core/tests/telemetry.test.ts index b953fa54347..b5d0349994d 100644 --- a/packages/core/tests/telemetry.test.ts +++ b/packages/core/tests/telemetry.test.ts @@ -59,9 +59,9 @@ jest.mock('node-fetch', () => { return jest.fn().mockImplementation(async () => ({} as Response)) }) -jest.mock('os', () => { +jest.mock('node:os', () => { return { - ...jest.requireActual('os'), + ...jest.requireActual('node:os'), platform: () => 'keystone-os', } })