Skip to content

docs: tests can use the @/ alias now - #180

Merged
anurag629 merged 1 commit into
developfrom
docs/vitest-alias
Oct 15, 2026
Merged

anurag629 merged 1 commit into
developfrom
docs/vitest-alias

Conversation

@anurag629

Copy link
Copy Markdown
Member

#179 added an @ alias to vitest.config.ts, so the line in "Adding a tool" that says vitest has no @/ alias is out of date.

How I tested this

A throwaway test in lib/__tests__/ that imports cn from @/lib/cn passes on develop.

@anurag629
anurag629 merged commit f7442d3 into develop Oct 15, 2026
3 checks passed
@anurag629
anurag629 deleted the docs/vitest-alias branch October 15, 2026 16:06
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.

1 participant