diff options
author | 2022-05-25 18:40:23 +0200 | |
---|---|---|
committer | 2022-05-26 15:49:18 +0200 | |
commit | 8484d3262dfb4fedd8b83f65d053bc21e455008d (patch) | |
tree | 9020f95a13ddf11863b0541619dd57ca3f511104 /packages/preload/src/contextBridge/__tests__ | |
parent | chore(deps): bump dependencies (diff) | |
download | sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.tar.gz sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.tar.zst sophie-8484d3262dfb4fedd8b83f65d053bc21e455008d.zip |
chore: use node16 moduleResolution where possible
We can't do this in the renderer package, because we need to import MUI
files that are not exported (MUI v6 is not ESM yet).
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/preload/src/contextBridge/__tests__')
-rw-r--r-- | packages/preload/src/contextBridge/__tests__/createSophieRenderer.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/preload/src/contextBridge/__tests__/createSophieRenderer.test.ts b/packages/preload/src/contextBridge/__tests__/createSophieRenderer.test.ts index 21620ed..b6af137 100644 --- a/packages/preload/src/contextBridge/__tests__/createSophieRenderer.test.ts +++ b/packages/preload/src/contextBridge/__tests__/createSophieRenderer.test.ts | |||
@@ -41,7 +41,7 @@ jest.unstable_mockModule('electron', () => ({ | |||
41 | const { ipcRenderer } = await import('electron'); | 41 | const { ipcRenderer } = await import('electron'); |
42 | 42 | ||
43 | const { default: createSophieRenderer } = await import( | 43 | const { default: createSophieRenderer } = await import( |
44 | '../createSophieRenderer' | 44 | '../createSophieRenderer.js' |
45 | ); | 45 | ); |
46 | 46 | ||
47 | const event: Electron.IpcRendererEvent = | 47 | const event: Electron.IpcRendererEvent = |