Skip to content

Conversation

gnapse
Copy link
Member

@gnapse gnapse commented Aug 2, 2024

What:

Fixes #620

Checklist:

  • Documentation
  • Ready to be merged

Choose a reason for hiding this comment

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

Instead of these changes, we should add "./vitest.setup.ts" next to "./jest-setup.ts", to make it a bit more obvious.

It appears that a few users are missing out the setup step for TypeScript when using a *.setup.ts file. Perhaps we should add a reference to it in other sections and also make the below line bold?

If you're using TypeScript, make sure your setup file is a .ts and not a .js to include the necessary types

If you're using TypeScript, make sure your setup file is a .ts and not a .js to include the necessary types

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.

Property 'toHaveTextContent' does not exist on type 'Assertion<HTMLElement>'.
2 participants