...

/

Making the First Test Pass

Making the First Test Pass

In this lesson, you’ll learn how to set up and use Mirage to pass the acceptance test.

Installing Mirage

As with all add-ons, the first step is to use ember install to add them to the project using following command:

ember install ember-cli-mirage

This creates an empty config file under mirage/config.js to which we need to add the route handlers. These route handlers should replicate the corresponding API endpoint’s behavior.

Let’s delete the ...

Access this course and 1400+ top-rated courses and projects.