I’ve seen a few files called *.test.js, *-test.js, *.spec.js, etc.
e2e clearly means end to end, which is different than unit and integration
Is there a general convention how to differentiate JavaScript (or TypeScript) unit and integration test files?
I know in frameworks like Jest I can use regex and jest projects to identify which files are unit vs integration, but curious if there is general naming convention / what are industry standards on test file names
I started naming my unit test files file.test.js and my integration tests file.int.test.js, but I’m not sure I’ve seen that anywhere else
Inspired by this question on unit test conventions