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

feat: fallback API #13

Merged
merged 16 commits into from
Aug 4, 2023
Merged

feat: fallback API #13

merged 16 commits into from
Aug 4, 2023

Conversation

noomorph
Copy link
Collaborator

@noomorph noomorph commented Jul 29, 2023

Makes it possible to work with the metadata even if there's no connection between the reporter and the environment.
The fallback API creates basic metadata containers: run → root describe block → [shallow test entries].

This way, reporters based on jest-metadata won't need to create IF-ELSE branching for the worst cases – instead they can query the incoming testCaseResults as usual, and get (not necessarily) empty metadata. Win - win.

Resolves #12, by the way.

@noomorph noomorph marked this pull request as ready for review August 4, 2023 14:57
@noomorph noomorph merged commit 245ac95 into master Aug 4, 2023
@noomorph noomorph deleted the feat/fallback-api branch August 4, 2023 15:31
@github-actions
Copy link

🎉 This PR is included in version 1.0.0 🎉

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.

Disable $Get, $Set, $Push when tests already run
1 participant