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
Could this feature be powerful enough to help me enforce test files for every .tsx no matter my structure?
Because I can imagine a regex solution to check for exists would quickly get complicated to manage. Imagine you have a components directory, and inside it you are going to have a wide variety of organization. On one hand you might have a simple /components/button/index.tsx but for a list you might have sub-components like /components/list/{ index.ts , list-item/index.tsx }
Thinking out loud, but it would be cool to say: "all .tsx files inside of /components should have neighboring .spec.tsx files"
The text was updated successfully, but these errors were encountered:
Regarding #30
Could this feature be powerful enough to help me enforce test files for every .tsx no matter my structure?
Because I can imagine a regex solution to check for exists would quickly get complicated to manage. Imagine you have a components directory, and inside it you are going to have a wide variety of organization. On one hand you might have a simple /components/button/index.tsx but for a list you might have sub-components like /components/list/{ index.ts , list-item/index.tsx }
Thinking out loud, but it would be cool to say: "all .tsx files inside of /components should have neighboring .spec.tsx files"
The text was updated successfully, but these errors were encountered: