Skip to content

Conversation

@slifty
Copy link
Contributor

@slifty slifty commented Jan 17, 2026

This PR fixes an issue where our test files were being included in the storybook build. This wasn't causing issues before, but some new tooling caused an issue that raised the need to ignore it.

Resolves #901

We recently added `src/test/ng-mocks-matchers.ts` which apparently was
being included by storybook in its build.  This was causing some
dependency issues.

We don't need to include anything in the test directory in our storybook
build, so the solution is to just ignore the whole thing.

Issue #901 Fix Storybook build
@codecov
Copy link

codecov bot commented Jan 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.76%. Comparing base (95fdf2a) to head (6bb8f8b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #902      +/-   ##
==========================================
- Coverage   47.83%   47.76%   -0.08%     
==========================================
  Files         351      351              
  Lines       11292    11292              
  Branches     1889     1889              
==========================================
- Hits         5402     5394       -8     
- Misses       5698     5705       +7     
- Partials      192      193       +1     

☔ View full report in Codecov by Sentry.
📢 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.

@slifty
Copy link
Contributor Author

slifty commented Jan 17, 2026

I ran dev build + deploy on this branch and it has fixed the storybook build / succeeded: https://github.com/PermanentOrg/web-app/actions/runs/21087412745/job/60653208915

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.

Fix Storybook build

2 participants