aboutsummaryrefslogtreecommitdiffstats
path: root/tests/utils/index.tsx
Commit message (Collapse)AuthorAgeFilesLines
* refactor(hooks,provider): move reduce motion setterArmand Philippot2023-11-111-2/+8
| | | | | | | | | | Since the local storage key is not meant to change between the components, it should be set directly inside the app file. So both the local storage and the data attribute should be handle in a provider. I also added a custom document because we need a script to retrieve the stored value in local storage earlier to avoid flashing on hydration.
* refactor(hooks,providers): rewrite useAckee hook and AckeeProviderArmand Philippot2023-11-111-12/+24
|
* test: install and configure cypressArmand Philippot2022-06-021-0/+43
I also configure Jest to avoid conflicts between Cypress and Jest.