Skip to content

chore: move from mock to msw - #5878

Merged
jmfrancois merged 1 commit into
masterfrom
jmfrancois/feat/use-msw-remove-mock
Sep 24, 2026
Merged

jmfrancois merged 1 commit into
masterfrom
jmfrancois/feat/use-msw-remove-mock

Conversation

@jmfrancois

@jmfrancois jmfrancois commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

What is the problem this PR is trying to solve?

we have a security issue about mockjs and the lib is dead

What is the chosen solution to this problem?

drop vitest-mock plugin and migrate to msw

Please check if the PR fulfills these requirements

  • The PR have used yarn changeset to a request a release from the CI if wanted.
  • The PR commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features) And non reg done before need review
  • Docs have been added / updated (for bug fixes / features)
  • Related design / discussions / pages (not in jira), if any, are all linked or available in the PR

[ ] This PR introduces a breaking change

@changeset-bot

changeset-bot Bot commented Sep 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 37cdf2c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jmfrancois
jmfrancois deployed to pull_request_unsafe September 24, 2026 11:59 — with GitHub Actions Active
@jmfrancois
jmfrancois deployed to pull_request_unsafe September 24, 2026 11:59 — with GitHub Actions Active
@jmfrancois
jmfrancois deployed to pull_request_unsafe September 24, 2026 11:59 — with GitHub Actions Active
@github-actions

Copy link
Copy Markdown
Contributor

Storybook for this PR deployed on this github page

@github-actions

Copy link
Copy Markdown
Contributor
Title Lines Statements Branches Functions
cmf Coverage: 89%
89.43% (1244/1391) 83.46% (626/750) 89.76% (351/391)
cmf-cqrs Coverage: 86%
86.33% (158/183) 71.42% (60/84) 82.45% (47/57)
cmf-router Coverage: 71%
70.68% (135/191) 56.52% (78/138) 58.13% (25/43)
components Coverage: 90%
90.77% (5577/6144) 82.41% (3228/3917) 88.21% (1400/1587)
containers Coverage: 84%
83.42% (1389/1665) 75.16% (702/934) 75% (327/436)
dataviz Coverage: 86%
85.93% (330/384) 65.41% (157/240) 75.94% (120/158)
design-system Coverage: 67%
66.96% (1042/1556) 51.95% (558/1074) 53.92% (220/408)
faceted-search Coverage: 85%
85.33% (640/750) 80% (292/365) 82.24% (227/276)
flow-designer Coverage: 73%
72.34% (675/933) 77.71% (415/534) 71.02% (201/283)
forms Coverage: 86%
86.22% (1652/1916) 76.71% (939/1224) 84.77% (462/545)
http Coverage: 100%
100% (85/85) 98.07% (51/52) 100% (34/34)
sagas Coverage: 92%
92.3% (24/26) 66.66% (4/6) 50% (2/4)
stepper Coverage: 81%
81.91% (154/188) 61.29% (57/93) 81.25% (39/48)
utils Coverage: 100%
100% (73/73) 90.9% (10/11) 100% (24/24)

@jmfrancois
jmfrancois merged commit 5a51816 into master Sep 24, 2026
8 checks passed
@jmfrancois
jmfrancois deleted the jmfrancois/feat/use-msw-remove-mock branch September 24, 2026 12:58

This branch was successfully deployed

1 active deployment
pull_request_unsafe — 37cdf2cf Deployed Sep 24, 2026 by jmfrancois via Build and test #8367
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.

1 participant