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

chore(carto): Improve test coverage #8629

Merged
merged 4 commits into from Mar 12, 2024

Conversation

donmccurdy
Copy link
Collaborator

@donmccurdy donmccurdy commented Mar 12, 2024

Changes:

  • add test coverage for scaleIdentity()
  • restore test coverage for parseMap()
  • remove outdated config.spec.ts

I've opted to put map configs inline with the tests here, rather than keeping the external JSON files. I find it easier to debug test failures this way, and we get the benefit of TypeScript checks on the test assertions.

Related:

@donmccurdy
Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @donmccurdy and the rest of your teammates on Graphite Graphite

@coveralls
Copy link

coveralls commented Mar 12, 2024

Coverage Status

coverage: 83.89% (+0.6%) from 83.262%
when pulling 3ecb3ef on donmccurdy/chore-carto-test-coverage-20240311
into 31cb7f1 on master.

@donmccurdy donmccurdy force-pushed the donmccurdy/chore-carto-test-coverage-20240311 branch from a268903 to 9d959ab Compare March 12, 2024 20:01
@donmccurdy donmccurdy force-pushed the donmccurdy/chore-carto-test-coverage-20240311 branch from 9d959ab to 3ecb3ef Compare March 12, 2024 20:06
@donmccurdy donmccurdy merged commit eee10e5 into master Mar 12, 2024
2 checks passed
@donmccurdy donmccurdy deleted the donmccurdy/chore-carto-test-coverage-20240311 branch March 12, 2024 20:11
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.

None yet

3 participants