toeverything / AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
https://affine.pro
Other
42.67k stars 2.79k forks source link

test(core): add tests for card view with edgeless mode link #8887

Open L-Sun opened 3 days ago

L-Sun commented 3 days ago

Close BS-1881, BS-1907, related PR https://github.com/toeverything/blocksuite/pull/8785, https://github.com/toeverything/blocksuite/pull/8790

This PR adds a test for the fit-to-content feature of the viewport for the embed doc block in edgeless mode.

graphite-app[bot] commented 3 days ago

Your org has enabled the Graphite merge queue for merging into canary

Add the label “merge” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

L-Sun commented 3 days ago

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

nx-cloud[bot] commented 3 days ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit 8f8bd76dd72867f04b4c42fb63db34a95abbf4d8. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this CI Pipeline Execution


✅ Successfully ran 1 target - [`nx test:coverage @affine/monorepo`](https://cloud.nx.app/runs/iGtbJIFaVK?utm_source=pull-request&utm_medium=comment)

Sent with 💌 from NxCloud.

codecov[bot] commented 3 days ago

Codecov Report

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

Project coverage is 70.16%. Comparing base (a4c749b) to head (8f8bd76). Report is 6 commits behind head on canary.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## canary #8887 +/- ## ========================================== - Coverage 70.25% 70.16% -0.09% ========================================== Files 550 550 Lines 33980 34005 +25 Branches 3052 3051 -1 ========================================== - Hits 23871 23861 -10 - Misses 9737 9772 +35 Partials 372 372 ``` | [Flag](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8887/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | Coverage Δ | | |---|---|---| | [server-test](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8887/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | `77.03% <ø> (-0.12%)` | :arrow_down: | | [unittest](https://app.codecov.io/gh/toeverything/AFFiNE/pull/8887/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything) | `46.08% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=toeverything#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features: