Skip to content

Enable type checking for tests #181

@rekmarks

Description

@rekmarks

Vitest currently does not check types in tests or source code; it just elides them and runs the raw JavaScript. Almost the entire team relies on their IDEs to catch these errors, but it would be great if our tooling catches it as well. At the very list, errors like the one exemplified by #179 should not be permitted on our default branch.

Vitest has facilities for type checking that we should investigate. Note that this may prevent us from using certain other features, although this could be well worth the cost.

Potentially related: #72

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingchoreNot a feature, not documentation, but something we still have to do.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions