Skip to content

Commit

Permalink
TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
serjonya-trili authored and OKendigelyan committed Jun 17, 2024
1 parent b093fc3 commit a9664e7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 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;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test": "turbo test",
"lint": "turbo lint",
"format": "turbo format",
"ci": "turbo check-types lint:ci format:ci test audit check-circular-deps",
"ci": "turbo check-types lint:ci format:ci test --concurrency=1 audit check-circular-deps",
"test:e2e": "turbo test:e2e",
"dev:desktop": "turbo dev --filter='./apps/desktop'"
},
Expand Down
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 a9664e7

Please sign in to comment.