Skip to content

More Testing and fixes for some types - #2907

Open
MomoRazor wants to merge 2 commits into
masterfrom
type-fixes
Open

MomoRazor wants to merge 2 commits into
masterfrom
type-fixes

Conversation

@MomoRazor

Copy link
Copy Markdown
Contributor

This PR includes adding testing for types as part of the build commands, as well as a few fixes within tests for some type inconsistencies, as discussed with @pylipp.

@codecov

codecov Bot commented Sep 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.21%. Comparing base (dcf7c70) to head (e151900).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2907   +/-   ##
=======================================
  Coverage   74.21%   74.21%           
=======================================
  Files         330      330           
  Lines       25393    25393           
  Branches     2532     2535    +3     
=======================================
  Hits        18845    18845           
  Misses       6498     6498           
  Partials       50       50           
Flag Coverage Δ
backend 99.64% <ø> (ø)
frontend 66.85% <ø> (ø)
sharedComponents 44.29% <ø> (ø)
sharedFront 91.72% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

const tenMonthsAgo = format(subMonths(new Date(), 10), "yyyy-MM-dd");
const fifteenMonthsAgo = format(subMonths(new Date(), 15), "yyyy-MM-dd"); // outside 1-year window

// STOCK_QUERY mock: 3 InStock facts (Shoes/Male, Shirts/Female, Pants/null) + Donated + Lost

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MomoRazor there's still 3 occurrences of Female in this file (plus this comment), though the type check passes in CI. Do you know why that is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants