test: fix test environments failing due to missing IS_DEV_ENVIRONMENT mock export
This commit is contained in:
1 parent
9b9b977ae6
commit
269ad18ed6
10 files changed
+20
-10
No files matched your search
@@ -25,7 +25,8 @@ vi.mock('../../ipc/database/cloudHandler', () => ({
|
||||
ensureDatabaseInitialized: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock('../../utils/paths', () => ({
|
||||
vi.mock('../../utils/paths', () => ({
|
||||
IS_DEV_ENVIRONMENT: false,
|
||||
getCloudAccountsDbPath: vi.fn(() => '/mock/db/path.sqlite'),
|
||||
}));
|
||||
|
||||
|
||||
Reference in new issue
Block a user