diff --git a/apps/desktop/jest.config.ts b/apps/desktop/jest.config.ts index 6ccdaef784..3845531bef 100644 --- a/apps/desktop/jest.config.ts +++ b/apps/desktop/jest.config.ts @@ -121,7 +121,7 @@ const config: Config = { // projects: undefined, // Use this configuration option to add custom reporters to Jest - reporters: process.env.CI ? ["github-actions"] : ["default", "summary"], + reporters: ["default", "summary"], // Automatically reset mock state before every test resetMocks: true, diff --git a/apps/desktop/src/env.ts b/apps/desktop/src/env.ts index 164e1b4d13..3e92b8513d 100644 --- a/apps/desktop/src/env.ts +++ b/apps/desktop/src/env.ts @@ -1 +1 @@ -export const IS_DEV = import.meta.env.DEV; +export const IS_DEV = !!import.meta.env.DEV; diff --git a/turbo.json b/turbo.json index fd776da5a6..da50755e2d 100644 --- a/turbo.json +++ b/turbo.json @@ -27,6 +27,9 @@ "test": { "outputs": [ "coverage/**" + ], + "env": [ + "CI" ] }, "test:watch": {