Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
serjonya-trili committed Jun 17, 2024
1 parent b093fc3 commit 6617c2e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/desktop/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion apps/desktop/src/env.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const IS_DEV = import.meta.env.DEV;
export const IS_DEV = !!import.meta.env.DEV;
3 changes: 3 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
"test": {
"outputs": [
"coverage/**"
],
"env": [
"CI"
]
},
"test:watch": {
Expand Down

0 comments on commit 6617c2e

Please sign in to comment.