You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to name my test files <file>.test.ts. This works great except that it doesn't work for +<whatever> files, instead throwing this error:
Files prefixed with + are reserved (saw src/routes/(app)/board/[board_id=board_id]/+server.test.ts)
Describe the proposed solution
Ignore +-files that contain .test. or .spec..
Alternatives considered
Use server.test.ts to test +server.ts. This isn't that big a deal, for me the most annoying part is that my IDE doesn't group it under the regular file anymore:
This is very useful as they are hidden by default, so when I need to look through the repository for something specific the file tree isn't polluted by the test files.
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Describe the problem
I like to name my test files
<file>.test.ts
. This works great except that it doesn't work for+<whatever>
files, instead throwing this error:Describe the proposed solution
Ignore +-files that contain
.test.
or.spec.
.Alternatives considered
Use
server.test.ts
to test+server.ts
. This isn't that big a deal, for me the most annoying part is that my IDE doesn't group it under the regular file anymore:This is very useful as they are hidden by default, so when I need to look through the repository for something specific the file tree isn't polluted by the test files.
Importance
nice to have
Additional Information
No response
The text was updated successfully, but these errors were encountered: