Skip to content

Conversation

@Diaan
Copy link
Collaborator

@Diaan Diaan commented Nov 18, 2025

Because of how we set the date; not only in the story, but via the parameters, setting the mock date with a decorator doesn't work, because it doesn't reach the params.

With this setup it always has the same date on non-dev environments.

@Diaan Diaan linked an issue Nov 18, 2025 that may be closed by this pull request
@changeset-bot
Copy link

changeset-bot bot commented Nov 18, 2025

⚠️ No Changeset found

Latest commit: aedd639

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

🕸 Website preview

You can view a preview here (commit aedd6398d42f4da7ea5e1c24a77c40dfeb3d6871).

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2025

🕸 Storybook preview

You can view a preview here (commit aedd6398d42f4da7ea5e1c24a77c40dfeb3d6871).

@Diaan Diaan changed the title 2062 chromatic mockdate Chore / 2062 chromatic mockdate Nov 18, 2025
@Diaan Diaan self-assigned this Nov 18, 2025
@Diaan Diaan merged commit 7173bbb into main Nov 18, 2025
9 of 13 checks passed
@Diaan Diaan deleted the chore/2062-chromatic-mockdate branch November 18, 2025 14: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.

[Chromatic] Use mockdate in all stories

4 participants