Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fallback mode per file #82

Merged
merged 2 commits into from
Dec 17, 2024
Merged

fix: fallback mode per file #82

merged 2 commits into from
Dec 17, 2024

Conversation

noomorph
Copy link
Collaborator

@noomorph noomorph commented Dec 17, 2024

Fixes an edge case spotted on CI.

To reproduce on affected versions:

  • Run test project with multiple workers
  • Some test files should initialize properly, some others must fail while initializing the test environment
  • Spectate weird errors like Metadata (undefined) is not an instance of TestFileMetadata from this place:
if (!(metadata instanceof Klass)) {
  throw new TypeError(`Metadata (${metadata?.id}) is not an instance of ${klassName}`);
}

@noomorph noomorph merged commit e9cca2f into master Dec 17, 2024
6 checks passed
@noomorph noomorph deleted the fix/per-file-fallback-mode branch December 17, 2024 11:01
Copy link

🎉 This PR is included in version 1.5.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant