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: add definition tests for metadata commands #10

Merged
merged 2 commits into from
Feb 13, 2024

Conversation

joschan21
Copy link
Contributor

This PR adds TypeScript definition tests to ensure that any future modifications on the TypeScript behaviour are compatible with the existing implementation

Copy link

linear bot commented Feb 12, 2024

@fahreddinozcan
Copy link
Collaborator

We could maybe move utls.test-d.ts file to utils folder?

@fahreddinozcan
Copy link
Collaborator

I think type checks are just fine this way, but as an alternative option, we could maybe introduce vitest for more readable type tests, wdyt?

https://vitest.dev/guide/testing-types

@joschan21 joschan21 merged commit c565ead into master Feb 13, 2024
1 check passed
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