Skip to content

chore(widget): upgrade to Vitest 5 and Effect rc.115 - #567

Open
petar-omni wants to merge 2 commits into
mainfrom
deps/upgrade-vitest-5
Open

petar-omni wants to merge 2 commits into
mainfrom
deps/upgrade-vitest-5

Conversation

@petar-omni

@petar-omni petar-omni commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade the widget test stack to Vitest 5 and Effect rc.115.
  • Update the Effect reference submodule and workspace dependency metadata.
  • Migrate renamed Effect schema and test APIs for the stricter Vitest/Effect combination.
  • Replace Faker-based fixture generation with Effect Arbitrary and Random, removing the Faker dependency.

Why

Keep the widget test harness aligned with the current Vitest and Effect releases while removing an unnecessary fixture dependency.

Align the published Effect test integration with Vitest 5 and update the
reference submodule to the matching release.

Preserve fixture context fields, migrate renamed schema APIs, and make browser
and resource tests explicit about stricter matching behavior.
…ixtures

Remove the @faker-js/faker dependency. Migrate test fixture helpers in
packages/widget/tests/fixtures/index.ts to Effect's Arbitrary module
for UUID and Ethereum address pattern sampling, and Random module for
APY floats.
@changeset-bot

changeset-bot Bot commented Sep 15, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0fdb9a8

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.

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

@aws-amplify-eu-central-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-567.d2ribjy8evqo6h.amplifyapp.com

@aws-amplify-eu-central-1

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-567.df4xyoi0xyeak.amplifyapp.com

@petar-omni
petar-omni added this pull request to stack #569 September 15, 2026 21:49
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