Skip to content

Separate jest tests by type

Lukas 'ai-pi' Eipert requested to merge leipert-separate-jest-specs into master

What does this MR do and why?

Separate jest tests by type

This separates jest tests by type:

  • no-fixtures: jest specs that do not load rspec generated fixtures
  • fixtures: jest specs that load some rspec generated fixture

This allows us to separate them when running jobs in CI. This has the benefit, that the no-fixtures jobs can run immediately when the pipeline starts, allowing for earlier feedback.

In total only ~160 out of 4085 spec files relies on a fixture.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports