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: more expect compatible APIs #360

Merged
merged 6 commits into from Dec 29, 2021
Merged

Conversation

sheremet-va
Copy link
Member

Related: #43

@netlify
Copy link

netlify bot commented Dec 29, 2021

✔️ Deploy Preview for vitest-dev ready!

🔨 Explore the source changes: 3b348b2

🔍 Inspect the deploy log: https://app.netlify.com/sites/vitest-dev/deploys/61cc641612fb530008a1f5f3

😎 Browse the preview: https://deploy-preview-360--vitest-dev.netlify.app

// Chai
chaiEqual(expected: any): void

interface JestAssertions<T = void> {
Copy link
Member

Choose a reason for hiding this comment

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

Why is T needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I used it before writing Promisify helper and was lazy to remove 👀

@antfu antfu merged commit 577ff67 into main Dec 29, 2021
@antfu antfu deleted the sheremet-va/asymmetric-matchers branch December 29, 2021 14:52
JakeGinnivan pushed a commit to JakeGinnivan/vitest that referenced this pull request Jan 8, 2022
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.

None yet

2 participants