AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

test(server): add MockJobQueue

Open fengmk2 opened this issue 9 months ago • 2 comments

fengmk2 avatar Mar 20 '25 07:03 fengmk2

  • #11056 Graphite
  • #11061 Graphite
  • #11059 Graphite
  • #10418 Graphite
  • #10421 Graphite
  • #10219 Graphite
  • #11032 Graphite 👈 (View in Graphite)
  • #10859 Graphite
  • #10797 Graphite
  • #10755 Graphite
  • canary

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

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

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

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

fengmk2 avatar Mar 20 '25 07:03 fengmk2

Codecov Report

Attention: Patch coverage is 71.15385% with 15 lines in your changes missing coverage. Please review.

Project coverage is 53.92%. Comparing base (4ed2c9b) to head (55a6090). Report is 1 commits behind head on canary.

Files with missing lines Patch % Lines
...s/backend/server/src/__tests__/mocks/queue.mock.ts 42.30% 15 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           canary   #11032      +/-   ##
==========================================
- Coverage   53.94%   53.92%   -0.02%     
==========================================
  Files        2509     2510       +1     
  Lines      114658   114702      +44     
  Branches    18613    18613              
==========================================
+ Hits        61851    61853       +2     
+ Misses      51489    50916     -573     
- Partials     1318     1933     +615     
Flag Coverage Δ
server-test 78.25% <71.15%> (-0.04%) :arrow_down:
unittest 30.13% <ø> (-0.01%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Mar 20 '25 09:03 codecov[bot]

Merge activity

graphite-app[bot] avatar Mar 21 '25 04:03 graphite-app[bot]