Skip to content

fixes: non-deterministic export order in mock barrels#3003

Merged
melloware merged 1 commit intoorval-labs:masterfrom
snebjorn:unstable-output
Feb 21, 2026
Merged

fixes: non-deterministic export order in mock barrels#3003
melloware merged 1 commit intoorval-labs:masterfrom
snebjorn:unstable-output

Conversation

@snebjorn
Copy link
Contributor

@snebjorn snebjorn commented Feb 21, 2026

Observed non-deterministic behavior:

Sometimes it would be:

export { getPetsMock } from './pets/pets.msw';
export { getHealthMock } from './health/health.msw';

other times

export { getHealthMock } from './health/health.msw';
export { getPetsMock } from './pets/pets.msw';

Given we now have snapshot testing this becomes a problem.

@snebjorn snebjorn marked this pull request as ready for review February 21, 2026 10:24
@melloware melloware merged commit 4be690a into orval-labs:master Feb 21, 2026
2 checks passed
@snebjorn snebjorn deleted the unstable-output branch February 21, 2026 14:23
@melloware melloware added this to the 8.5.0 milestone Feb 21, 2026
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