SOLUTION: How to get Angular Integration Testing to run ng test

I finished learning how to UNIT test my Angular projects, but I also wanted to INTEGRATION test them. It’s also really easy to get the sample files to work. Here’s what I did:

  1. Download the “” file in the “02- The Setup Code” section.

  2. Create a new Angular project. So, for example, in a new directory run:

ng new new-integration-demo

Now, delete the APP folder. You’ll replace it with another one.

  1. Extract the folder and COPY the APP folder and drop it into your new projects src folder. In my case, I put the files in new-testing-demo/src/
  2. Run “ng test” and follow along with Mosh’s videos