Sunday, April 2, 2017

A good convention in testing Angular 4 components is to put a .spec.ts file in the same folder as the .ts file.

Let foo.component.ts and foo.component.spec.ts (which tests foo.component.ts) sit side by side.

No comments:

Post a Comment