diff --git a/apps/desktop/tests/unit/chrome-api-polyfills/alarms.test.js b/apps/desktop/tests/unit/chrome-polyfill-alarms.test.js similarity index 98% rename from apps/desktop/tests/unit/chrome-api-polyfills/alarms.test.js rename to apps/desktop/tests/unit/chrome-polyfill-alarms.test.js index 6a9a8a89..aa54767a 100644 --- a/apps/desktop/tests/unit/chrome-api-polyfills/alarms.test.js +++ b/apps/desktop/tests/unit/chrome-polyfill-alarms.test.js @@ -4,7 +4,7 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); -const modulePath = join(__dirname, '..', '..', '..', 'backend', 'electron', 'chrome-api-polyfills', 'alarms.js'); +const modulePath = join(__dirname, '..', '..', 'main', 'chrome-api-polyfills', 'alarms.js'); const { setupMainProcess, getPreloadScript } = await import(modulePath); diff --git a/apps/desktop/tests/unit/chrome-api-polyfills/event-emitter.test.js b/apps/desktop/tests/unit/chrome-polyfill-event-emitter.test.js similarity index 95% rename from apps/desktop/tests/unit/chrome-api-polyfills/event-emitter.test.js rename to apps/desktop/tests/unit/chrome-polyfill-event-emitter.test.js index 99044989..119ba7dd 100644 --- a/apps/desktop/tests/unit/chrome-api-polyfills/event-emitter.test.js +++ b/apps/desktop/tests/unit/chrome-polyfill-event-emitter.test.js @@ -4,7 +4,7 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); -const modulePath = join(__dirname, '..', '..', '..', 'backend', 'electron', 'chrome-api-polyfills', '_event-emitter.js'); +const modulePath = join(__dirname, '..', '..', 'main', 'chrome-api-polyfills', '_event-emitter.js'); const { createChromeEvent } = await import(modulePath); diff --git a/apps/desktop/tests/unit/chrome-api-polyfills/ipc-bridge.test.js b/apps/desktop/tests/unit/chrome-polyfill-ipc-bridge.test.js similarity index 94% rename from apps/desktop/tests/unit/chrome-api-polyfills/ipc-bridge.test.js rename to apps/desktop/tests/unit/chrome-polyfill-ipc-bridge.test.js index d9bd6618..7955a418 100644 --- a/apps/desktop/tests/unit/chrome-api-polyfills/ipc-bridge.test.js +++ b/apps/desktop/tests/unit/chrome-polyfill-ipc-bridge.test.js @@ -4,7 +4,7 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); -const modulePath = join(__dirname, '..', '..', '..', 'backend', 'electron', 'chrome-api-polyfills', '_ipc-bridge.js'); +const modulePath = join(__dirname, '..', '..', 'main', 'chrome-api-polyfills', '_ipc-bridge.js'); const { IPC_PREFIX, channel, registerHandler, removeHandler, invokeSnippet } = await import(modulePath); diff --git a/apps/desktop/tests/unit/chrome-api-polyfills/storage-session.test.js b/apps/desktop/tests/unit/chrome-polyfill-storage-session.test.js similarity index 98% rename from apps/desktop/tests/unit/chrome-api-polyfills/storage-session.test.js rename to apps/desktop/tests/unit/chrome-polyfill-storage-session.test.js index a87ea84c..08fc2e39 100644 --- a/apps/desktop/tests/unit/chrome-api-polyfills/storage-session.test.js +++ b/apps/desktop/tests/unit/chrome-polyfill-storage-session.test.js @@ -4,7 +4,7 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); -const modulePath = join(__dirname, '..', '..', '..', 'backend', 'electron', 'chrome-api-polyfills', 'storage-session.js'); +const modulePath = join(__dirname, '..', '..', 'main', 'chrome-api-polyfills', 'storage-session.js'); const { setupMainProcess, getPreloadScript } = await import(modulePath); diff --git a/apps/desktop/tests/unit/chrome-api-polyfills/web-navigation.test.js b/apps/desktop/tests/unit/chrome-polyfill-web-navigation.test.js similarity index 93% rename from apps/desktop/tests/unit/chrome-api-polyfills/web-navigation.test.js rename to apps/desktop/tests/unit/chrome-polyfill-web-navigation.test.js index bf18d452..9b544a61 100644 --- a/apps/desktop/tests/unit/chrome-api-polyfills/web-navigation.test.js +++ b/apps/desktop/tests/unit/chrome-polyfill-web-navigation.test.js @@ -4,7 +4,7 @@ import { dirname, join } from 'path'; import { fileURLToPath } from 'url'; const __dirname = dirname(fileURLToPath(import.meta.url)); -const modulePath = join(__dirname, '..', '..', '..', 'backend', 'electron', 'chrome-api-polyfills', 'web-navigation.js'); +const modulePath = join(__dirname, '..', '..', 'main', 'chrome-api-polyfills', 'web-navigation.js'); const { getPreloadScript } = await import(modulePath);