Skip to content

[code coverage] do not collect stats for mocha#87859

Merged
dmlemeshko merged 1 commit intoelastic:masterfrom
dmlemeshko:remove-mocha-coverage
Jan 11, 2021
Merged

[code coverage] do not collect stats for mocha#87859
dmlemeshko merged 1 commit intoelastic:masterfrom
dmlemeshko:remove-mocha-coverage

Conversation

@dmlemeshko
Copy link
Copy Markdown
Contributor

@dmlemeshko dmlemeshko commented Jan 11, 2021

Summary

Mocha runner returns no tests, so it looks like all tests are migrated to Jest runner. We don't need to collect mocha coverage anymore.

Code coverage pipeline tested

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@dmlemeshko dmlemeshko marked this pull request as ready for review January 11, 2021 18:11
@dmlemeshko dmlemeshko requested a review from a team as a code owner January 11, 2021 18:11
@dmlemeshko dmlemeshko added code coverage Issues & PRs about code coverage v8.0.0 backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes labels Jan 11, 2021
kibanaPipeline.bash('''
cat << EOF > src/dev/code_coverage/www/index_partial_2.html
<a class="nav-link" href="https://kibana-coverage.elastic.dev/${TIME_STAMP}/jest-combined/index.html">Latest Jest</a>
<a class="nav-link" href="https://kibana-coverage.elastic.dev/${TIME_STAMP}/mocha-combined/index.html">Latest Mocha</a>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, I forgot about this!

Copy link
Copy Markdown
Contributor

@wayneseymour wayneseymour left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dmlemeshko dmlemeshko merged commit b10be9e into elastic:master Jan 11, 2021
@dmlemeshko dmlemeshko deleted the remove-mocha-coverage branch January 31, 2022 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting code coverage Issues & PRs about code coverage release_note:skip Skip the PR/issue when compiling release notes v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants