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
If you generate a new Typescript-based Strapi project and then follow the instructions in the testing documentation, Strapi fails to start properly. This appears to be because all the config files are .ts files, whereas the code to load the configuration files requires them to have .js or .json extensions.
Additional context
No response
Suggested improvements or fixes
Add a section to the testing page mentioning what extra steps are required for typescript projects, which from what I've been able to work out is something like
Hi,
Thanks for reporting. I'm closing this issue, but it's included in the meta issue about reworking the Testing page (#1940).
In the meantime I'll check with Strapi engineers to see if they can come up with a solution.
Link to the documentation page or resource
https://docs.strapi.io/dev-docs/testing
Describe the bug
If you generate a new Typescript-based Strapi project and then follow the instructions in the testing documentation, Strapi fails to start properly. This appears to be because all the config files are
.ts
files, whereas the code to load the configuration files requires them to have.js
or.json
extensions.Additional context
No response
Suggested improvements or fixes
Add a section to the testing page mentioning what extra steps are required for typescript projects, which from what I've been able to work out is something like
Related issue(s)/PR(s)
No response
The text was updated successfully, but these errors were encountered: