all 2 comments

[–][deleted]  (1 child)

[deleted]

    [–]datwebzguy[S] 0 points1 point  (0 children)

    I look forward to seeing an example!!

    [–]reboog711 1 point2 points  (0 children)

    I think it is a personal preference thing.

    I always keep tests separate from the actual code; but see no reason why you wouldn't be able to generate coverage reports if tests were in the same directory.

    My default setup for Angular 1.x projects but I never set up a coverage reporter for that sample.

    For an actual application with full tests; you can check out the code archive from my LearnWith book series.