Skip to content

Conversation

@markgaze
Copy link
Contributor

@markgaze markgaze commented Oct 24, 2024

By default, Vitest includes all .spec files as well as .test files so I've added this to the vitestFiles array to make sure they're configured correctly too.

I've added a "test" to the fixture app and ESLint errors about it not being possible to import from the .spec file in there.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

I recommend using *.test.*, but I appreciate the defaults in vitest and we'll just stick with that.

@kentcdodds kentcdodds merged commit d7f6490 into epicweb-dev:main Oct 24, 2024
@markgaze markgaze deleted the spec-files branch October 25, 2024 08:47
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.

2 participants