diff options
Diffstat (limited to 'packages/main/src/infrastructure/resources')
-rw-r--r-- | packages/main/src/infrastructure/resources/impl/__tests__/getDistResources.spec.ts | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/packages/main/src/infrastructure/resources/impl/__tests__/getDistResources.spec.ts b/packages/main/src/infrastructure/resources/impl/__tests__/getDistResources.spec.ts index d045e54..e7e9d71 100644 --- a/packages/main/src/infrastructure/resources/impl/__tests__/getDistResources.spec.ts +++ b/packages/main/src/infrastructure/resources/impl/__tests__/getDistResources.spec.ts | |||
@@ -20,15 +20,11 @@ | |||
20 | 20 | ||
21 | import os from 'node:os'; | 21 | import os from 'node:os'; |
22 | 22 | ||
23 | import eachModule from 'jest-each'; | 23 | import { each } from '@sophie/test-utils'; |
24 | 24 | ||
25 | import Resources from '../../Resources'; | 25 | import Resources from '../../Resources'; |
26 | import getDistResources from '../getDistResources'; | 26 | import getDistResources from '../getDistResources'; |
27 | 27 | ||
28 | // Workaround for jest ESM loader incorrectly wrapping the import in another layer of `default`. | ||
29 | const each = | ||
30 | (eachModule as Partial<typeof import('jest-each')>).default ?? eachModule; | ||
31 | |||
32 | const defaultDevServerURL = 'http://localhost:3000/'; | 28 | const defaultDevServerURL = 'http://localhost:3000/'; |
33 | 29 | ||
34 | const [ | 30 | const [ |