Skip to content

Conversation

@MarceloRGonc
Copy link
Contributor

@MarceloRGonc MarceloRGonc commented Jan 27, 2026

Fixes OPS-3498.

Additional notes:

  • Error logs are still displayed in the output.
  • When a test fails, the corresponding error is clearly shown.

@linear
Copy link

linear bot commented Jan 27, 2026

@MarceloRGonc MarceloRGonc changed the title Test Silence logs when running Jest on GitHub CI Jan 27, 2026
@sonarqubecloud
Copy link

max_attempts: 3
retry_on: error
command: npx nx run-many --target ${{ matrix.test-suits.target || 'test' }} --projects "${{ matrix.test-suits.include }}" --exclude "${{ matrix.test-suits.exclude }}" --quiet
command: npx nx run-many --target ${{ matrix.test-suits.target || 'test' }} --projects "${{ matrix.test-suits.include }}" --exclude "${{ matrix.test-suits.exclude }}" --quiet -- --silent
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can add this to the 'jest.preset.js' file. But that way will affect local tests.

@MarceloRGonc MarceloRGonc marked this pull request as ready for review January 27, 2026 16:29
Copilot AI review requested due to automatic review settings January 27, 2026 16:29
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR silences verbose logs during Jest test execution in GitHub CI while preserving error output and test failure information.

Changes:

  • Added --silent flag to Jest test execution command in CI workflow

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants