Closed aryaemami59 closed 3 weeks ago
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Name | Link |
---|---|
Latest commit | d69e108d827dac3ef5fe2fad7eb1901c1e1bd2dd |
Latest deploy log | https://app.netlify.com/sites/react-redux-docs/deploys/661276573120920008cb9427 |
Deploy Preview | https://deploy-preview-2129--react-redux-docs.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
Haven't paid any attention to this, I'm afraid :) Where's it stand? I see green.
Also, just out of curiosity, what's the net benefit of doing typetests with Vitest?
@markerikson All tests are passing.
Also, just out of curiosity, what's the net benefit of doing typetests with Vitest?
.skip
/.only
/.todo
syntax.--typecheck
flag.On a side note I'm also a collaborator on the expect-type
which is the library Vitest uses for type checking.
Okay, cloned it briefly and confirmed A) it passes locally, B) it does catch errors if I introduce them. Nice!
This PR:
typetest.ts
file extensions totest-d.ts
to be compatible with Vitest.expectType()
to eitherassertType()
orexpectTypeOf().toMatchTypeOf()
.expectExactType
toexpectTypeOf().toEqualTypeOf()
.test
ordescribe
blocks.