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

🔥 Remove old json checkers #1127

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

misode
Copy link
Member

@misode misode commented May 11, 2024

No need to have this old system confusing us when it's going to be replaced by mcdoc.

@misode misode requested a review from SPGoding as a code owner May 11, 2024 11:55
Copy link
Contributor

@TheAfroOfDoom TheAfroOfDoom left a comment

Choose a reason for hiding this comment

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

can we also remove the snapshot code that is generated by tests that used testGrid / testChecker?

i don't know if theres a more official way of updating snapshots but ive just been deleting the relevant file(s) and re-running npm run test (this is more of a "how do you do it?" question than a "this is how you should do it")

@SPGoding
Copy link
Member

Setting the environment variable SNAPSHOT_UPDATE=1 when running npm test should update the snapshot but i just delete the relevant snapshot files too lol

@misode misode merged commit 82eaccb into SpyglassMC:main May 13, 2024
3 checks passed
@misode misode deleted the remove-old-json-checkers branch May 13, 2024 19:14
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.

3 participants