Skip to content

Commit

Permalink
fix telemetry mock import
Browse files Browse the repository at this point in the history
  • Loading branch information
dcousens committed Feb 8, 2024
1 parent 7961a0e commit 61cbad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/tests/telemetry.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
})
Expand Down

0 comments on commit 61cbad4

Please sign in to comment.