alixlahuec / zotero-roam

Connector extension between Roam Research & Zotero
https://alix-lahuec.gitbook.io/zotero-roam/
Apache License 2.0
63 stars 6 forks source link

chore: replace dependencies for Storybook testing #565

Closed alixlahuec closed 7 months ago

alixlahuec commented 7 months ago

Description

Update Storybook testing dependencies, from the SB team's latest recommendations:

The switch to @storybook/test has a few implications:

Validation

✅ All tests & stories are passing

linear[bot] commented 7 months ago

RM-611 Replace @storybook/testing-library

socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@storybook/test@7.6.14 environment, eval Transitive: filesystem, network, shell, unsafe +370 36.1 MB shilman
npm/@types/jest@29.5.12 Transitive: environment, filesystem, unsafe +40 3.31 MB types

🚮 Removed packages: npm/@storybook/jest@0.2.3, npm/@storybook/testing-library@0.1.0

View full report↗︎

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (bb94cd4) 85.72% compared to head (2ce9e7f) 85.56%.

:exclamation: Current head 2ce9e7f differs from pull request most recent head 0301398. Consider uploading reports for the commit 0301398 to get more accurate results

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565/graphs/tree.svg?width=650&height=150&src=pr&token=32DK4326KK&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec)](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec) ```diff @@ Coverage Diff @@ ## beta #565 +/- ## ========================================== - Coverage 85.72% 85.56% -0.16% ========================================== Files 162 162 Lines 4991 4991 Branches 1310 1310 ========================================== - Hits 4278 4270 -8 - Misses 711 719 +8 Partials 2 2 ``` | [Files](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec) | Coverage Δ | | |---|---|---| | [mocks/roam.ts](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-bW9ja3Mvcm9hbS50cw==) | `64.71% <100.00%> (ø)` | | | [src/components/GraphWatcher/Menus/CitekeyMenu.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NvbXBvbmVudHMvR3JhcGhXYXRjaGVyL01lbnVzL0NpdGVrZXlNZW51LnRzeA==) | `88.81% <ø> (ø)` | | | [...rc/components/GraphWatcher/SemanticPanel/index.tsx](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec#diff-c3JjL2NvbXBvbmVudHMvR3JhcGhXYXRjaGVyL1NlbWFudGljUGFuZWwvaW5kZXgudHN4) | `85.19% <ø> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/alixlahuec/zotero-roam/pull/565/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Alix+Lahuec)