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: Add unit test for createMap #162

Merged
merged 3 commits into from Jul 6, 2022
Merged

test: Add unit test for createMap #162

merged 3 commits into from Jul 6, 2022

Conversation

slaymance
Copy link
Contributor

Description of changes

Adds unit testing for the createMap function, along with appropriate Jest configuration to test the webgl canvas output of createMap.

Issue #, if available

N/A

Description of how you validated changes

Running yarn test to ensure all unit tests pass/

Checklist

  • PR description included
  • yarn test passes
  • Tests are [changed or added]

@slaymance slaymance requested a review from thaddmt July 6, 2022 20:50
@slaymance slaymance self-assigned this Jul 6, 2022
@codecov-commenter
Copy link

codecov-commenter commented Jul 6, 2022

Codecov Report

Merging #162 (c501787) into main (9bc43e7) will increase coverage by 1.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
+ Coverage   41.90%   42.94%   +1.04%     
==========================================
  Files          16       16              
  Lines        1248     1248              
  Branches      198      193       -5     
==========================================
+ Hits          523      536      +13     
+ Misses        724      712      -12     
+ Partials        1        0       -1     
Impacted Files Coverage Δ
src/AmplifyMapLibreRequest.ts 83.82% <0.00%> (+19.11%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@slaymance slaymance requested a review from thaddmt July 6, 2022 21:16
@slaymance slaymance merged commit fb4dfd0 into main Jul 6, 2022
@slaymance slaymance deleted the createmap-test branch July 6, 2022 22:26
@github-actions
Copy link

github-actions bot commented Jul 7, 2022

🎉 This PR is included in version 2.0.0-unstable.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Jul 7, 2022

🎉 This PR is included in version 2.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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants