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

Test case location #3

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Test case location #3

merged 1 commit into from
Jul 16, 2024

Conversation

vCaisim
Copy link
Collaborator

@vCaisim vCaisim commented Jul 16, 2024

Changes:

  • update examples: add a spec with test cases with the same title; added testLocationInResults: true in jest.config.js to have test location; removed useless testTimeout
  • add test location to the report, when available
  • fix a logic error, that was triggered when the suite had only one spec with one skipped describe block. The error: only the onTestFileResult hook was called and this.resultsDeferred[testCaseKey] was undefined.

@vCaisim vCaisim requested a review from agoldis July 16, 2024 16:16
@agoldis agoldis merged commit f074021 into main Jul 16, 2024
1 check passed
@agoldis agoldis deleted the feat/test-case-location branch July 16, 2024 17:56
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