NEARStudio
NEARStudio copied to clipboard
[maintainability] Refactor snapshot tests to remove cross-test dependency due to util getNextKey
The problem manifests itself like this:
- add a new test for App.tsx
- snapshot tests start failing due to incorrect value of key
- this is due to the fact that the key ids are currently generated off a variable that is shared between the tests.