Closed
Description
File naming conventions in Jest can be improved. A good example is the integration_tests
folder. We have:
- Dashed names:
auto-clear-mocks
- Underscored names:
clear_cache
- Camel case names:
testNamePattern
- Dash + camel case names:
timer-resetMocks
- Underscore + camel case names:
stack_trace_no_captureStackTrace
- ? names:
regex-(char-in-path
I understand that some of the camel cased ones reference actual method names, like captureStackTrace
, but I think we could do it better. This is absolutely not top-priority, but I just wanted to add a task to it because it feels there's room for improvement.