Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ensure appData is always correct #3310

Merged
merged 1 commit into from
Nov 1, 2023

Conversation

anxolin
Copy link
Contributor

@anxolin anxolin commented Oct 31, 2023

Summary

Follow up on #3301 (comment)

This PR adds some unit tests to enforce we don't forget to update the appData to the latest version, and we make sure the format is correct.

The tests will fail if its not in the right version (or they don't pass the validation)
Screenshot at Oct 31 19-47-17

Its easy to spot when we have an issue with the appData:
Screenshot at Oct 31 19-56-47

All the test pass now:

Screenshot at Oct 31 20-11-56

Copy link

vercel bot commented Oct 31, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cosmos ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 8:17pm
swap-dev ✅ Ready (Inspect) Visit Preview Oct 31, 2023 8:17pm
widget-configurator ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2023 8:17pm

@shoom3301 shoom3301 merged commit a13a254 into develop Nov 1, 2023
8 of 9 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Nov 1, 2023
@alfetopito alfetopito deleted the enforce-last-version-of-app-data branch November 1, 2023 13:39
@alfetopito
Copy link
Collaborator

Oopsie, unit tests (related to appData) were broken

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants