Skip to content

Commit

Permalink
change reporters
Browse files Browse the repository at this point in the history
  • Loading branch information
ryu-sato committed Feb 22, 2025
1 parent 6a6c5ca commit 070c9a0
Show file tree
Hide file tree
Showing 12 changed files with 48 additions and 132 deletions.
15 changes: 4 additions & 11 deletions apps/file-backup/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/file-restore/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/list/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/mariadb-backup/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/mariadb-restore/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/mongodb-backup/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/mongodb-restore/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/postgresql-backup/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/postgresql-restore/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions apps/prune/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions packages/commands/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down
15 changes: 4 additions & 11 deletions packages/storage-service-clients/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,17 +100,10 @@ export default {
// projects: undefined,

// Use this configuration option to add custom reporters to Jest
...(
process.env.CI ?
{ reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
] } :
{ reporters: [
'default',
'summary',
] }
),
reporters: [
'summary',
['jest-ctrf-json-reporter', {}],
],

// Automatically reset mock state before every test
// resetMocks: false,
Expand Down

0 comments on commit 070c9a0

Please sign in to comment.