Skip to content

Comments

Improve test coverage#657

Merged
augeas merged 8 commits intowurmlab:masterfrom
Lazy-poet:test-cases
Aug 3, 2023
Merged

Improve test coverage#657
augeas merged 8 commits intowurmlab:masterfrom
Lazy-poet:test-cases

Conversation

@Lazy-poet
Copy link
Contributor

No description provided.

@ghost
Copy link

ghost commented Jun 25, 2023

👇 Click on the image for a new way to code review

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@Lazy-poet Lazy-poet marked this pull request as ready for review July 11, 2023 16:48
@augeas
Copy link
Contributor

augeas commented Jul 21, 2023

Can see the tests becoming progressively DRYer as we progress through the commits.
Jest tests run fine locally, Rspec tests still good.

Merge so we can get these into the workflow...

@augeas augeas merged commit ae07659 into wurmlab:master Aug 3, 2023
@augeas
Copy link
Contributor

augeas commented Aug 3, 2023

The tests are fine, but there's an issue WRT coverage in the Jest config.

@Lazy-poet
Copy link
Contributor Author

The tests are fine, but there's an issue WRT coverage in the Jest config.

Hi could you please expatiate on what the issues are?

@augeas
Copy link
Contributor

augeas commented Aug 4, 2023

It was odd. collectCoverageFrom looked entirely reasonable in the Jest config, but spurious files were being generated in the coverage report, which, understandably, CodeClimate Did Not Like. Using the defaults seems to solve the issue. See PR 676 for details.

Anyway, that done, the Jest tests can be combined with the rspec ones just fine.

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