-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
chore: use vitest expect-type only #4868
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
Oh, it looks like vitest exports their forked |
Updated to remove the expect-type dependency completely for now. If trpc is using vitest it should just use the re-exported version from there. |
thanks for this :) |
# Conflicts: # packages/client/package.json # packages/server/package.json # pnpm-lock.yaml
Closes #
π― Changes
Replace copy-pasted expect-type from mmkal/expect-type#16 with the prerelease version published to npm.
Creating as a draft initially so I can make sure this doesn't regress anything. I ran
pnpm test-ci
with and without this change a bunch of times and the timing was pretty much the same, and it passes.Note: I don't actually see how
inferenceUtils.ts
is ever referenced but I'm guessing there's some tsconfig setup making its exports available globally. So I just replaced its contents withexport * from 'expect-type'
.CC @KATT and @neo773 who I think copy-pasted it originally in #3271? Anything I should check before declaring #mmkal/expect-type#16 ready for release? I want to make sure this repo and vitest are both happy with it and can stop maintaining forks.
β Checklist