When I use Angular CLI to generate a component, the test linked uses the logic foo.spec.ts
.
I am reading a tutorial where the test linked uses the logic foo.test.ts
.
What's the difference between “foo.spec.ts” and “foo.test.ts"? Is there even one? It is just a matter of taste or is there a logic behind?
test.ts
and found a rather telling comment at two such files I found on Github:// This file is required by karma.conf.js and loads recursively all the .spec and framework files