Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update @vector-im/compound-web & fix jest snapshot updates #12637

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

florianduros
Copy link
Contributor

@florianduros florianduros commented Jun 18, 2024

Checklist

  • Tests written for new code (and old code if feasible).
  • New or updated public/exported symbols have accurate TSDoc documentation.
  • Linter and other CI checks pass.
  • Sign-off given on the changes (see CONTRIBUTING.md).

Since this change in @floating-ui/react floating-ui/floating-ui@fa4ee32, the ids used internally by floating-ui are random based. Theses id are used for example for accessibility to link a tooltip to its trigger element.
Every run of our tests, theses ids change which is making the snapshot testing unusable.

When we will migrate to react 18, @floating-ui/react will use the built in id generator instead of it's its custom one.
Let's fix the resolution of the deps until the our react 18 migration.

@florianduros florianduros added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jun 18, 2024
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

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

Looks good, but could we fix the title?

@florianduros florianduros changed the title Update @vector-im/compound-web Update @vector-im/compound-web & fix jest snapshot updates Jun 19, 2024
@florianduros florianduros changed the title Update @vector-im/compound-web & fix jest snapshot updates Update @vector-im/compound-web & fix jest snapshot updates Jun 19, 2024
@florianduros florianduros added this pull request to the merge queue Jun 19, 2024
Merged via the queue into develop with commit 04e1d7f Jun 19, 2024
46 checks passed
@florianduros florianduros deleted the florianduros/update-compound-web branch June 19, 2024 12:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants