Skip to content

Commit

Permalink
ci: add importer to direct jest non-error output too stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Apr 26, 2024
1 parent 4e3a2da commit 2376fe6
Show file tree
Hide file tree
Showing 6 changed files with 110 additions and 5 deletions.
1 change: 1 addition & 0 deletions apps/admin-panel/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ module.exports = {
"^.+\\.tsx?$": "ts-jest",
},
setupFilesAfterEnv: ["<rootDir>/jest.setup.js"],
reporters: ["jest-standard-reporter"],
}
1 change: 1 addition & 0 deletions apps/voucher/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ module.exports = {
moduleNameMapper: {
"^@/(.*)$": "<rootDir>/$1",
},
reporters: ["jest-standard-reporter"],
};
3 changes: 2 additions & 1 deletion core/api/test/integration/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ module.exports = {
moduleNameMapper: {
"^@/(.*)$": ["<rootDir>/src/$1"],
"^test/(.*)$": ["<rootDir>/test/$1"],
}
},
reporters: ["jest-standard-reporter"],
}
3 changes: 2 additions & 1 deletion core/api/test/unit/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ module.exports = {
moduleNameMapper: {
"^@/(.*)$": ["<rootDir>/src/$1"],
"^test/(.*)$": ["<rootDir>/test/$1"],
}
},
reporters: ["jest-standard-reporter"],
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
"http-cache-semantics": "4.1.1",
"import-in-the-middle": "1.4.2"
},
"packageManager": "[email protected]"
"packageManager": "[email protected]",
"devDependencies": {
"jest-standard-reporter": "^2.0.0"
}
}

101 changes: 100 additions & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2376fe6

Please sign in to comment.