DEV Community

Discussion on: First-class testing

Collapse
 
itsasine profile image
ItsASine (Kayla) • Edited

Unit tests with the code they are testing (I would expect to see thingy.component.js with thingy.component.spec.js in the same directory with the rest of the thingy stuff).

Integration and end-to-end tests I put first class, though working in Javascript, I tend to share the same package.json across all of them. If unit tests and end-to-end tests both use Jasmine, I don't want to have that in two different node_modules.