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

test: improve type safety of project CRUD tests #873

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

EvanHahn
Copy link
Contributor

Our project CRUD tests had a number of ts-ignores and anys. This replaces those with type-safe code.

I think this is a useful change on its own but will also make an upcoming change easier.

Our project CRUD tests had a number of `ts-ignore`s and `any`s. This
replaces those with type-safe code.

I think this is a useful change on its own but will also make [an
upcoming change][0] easier.

[0]: #805
@tomasciccola
Copy link
Contributor

thanks for this, my type skills couldn't have reach this :|. I'll take a look at this tomorrow!

Copy link
Contributor

@tomasciccola tomasciccola left a comment

Choose a reason for hiding this comment

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

🚀

@EvanHahn EvanHahn merged commit 0ae90ba into main Oct 1, 2024
6 checks passed
@EvanHahn EvanHahn deleted the project-crud-test-type-safety branch October 1, 2024 15:10
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.

2 participants