@equisoft/jest-utils 1.7.3-snapshot.20250915033050 → 1.8.1-snapshot.20250919201856

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,10 +27,11 @@ function isReporter(value) {
27
27
  return !!value;
28
28
  }
29
29
  function createJestConfig(config) {
30
+ const isCI = process.env.CI === 'true' || process.env.CI === '1';
30
31
  return Object.assign({}, mergeDeep({
31
32
  clearMocks: true,
32
33
  errorOnDeprecated: true,
33
- collectCoverage: true,
34
+ collectCoverage: !isCI,
34
35
  coverageDirectory: '<rootDir>/build/jest/coverage',
35
36
  coveragePathIgnorePatterns: [
36
37
  '/index\\.[jt]sx?$',
@@ -46,7 +47,7 @@ function createJestConfig(config) {
46
47
  extensionsToTreatAsEsm: ['.jsx', '.ts', '.tsx'],
47
48
  reporters: [
48
49
  'default',
49
- process.env.CI === 'true' && process.env.JEST_ENABLE_ANNOTATIONS !== 'false' && 'github-actions',
50
+ isCI && process.env.JEST_ENABLE_ANNOTATIONS !== 'false' && 'github-actions',
50
51
  [
51
52
  'jest-junit',
52
53
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equisoft/jest-utils",
3
- "version": "1.7.3-snapshot.20250915033050",
3
+ "version": "1.8.1-snapshot.20250919201856",
4
4
  "dependencies": {
5
5
  "pretty-format": "30.0.5"
6
6
  },