You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just about every Ember application ends up having pages that require data from an external API. It's common to use tools like [Mirage](https://www.ember-cli-mirage.com/) to mock the network when testing these applications.
4
+
5
+
It makes sense that we would also want to mock the network in FastBoot tests. However, since FastBoot runs inside of Node.js, we'll need to use a network mocking library that is written for node applications.
6
+
7
+
FastBoot Testing exposes an API for networking mocking in node that can be used to intercept requests made from your FastBoot app.
8
+
9
+
The following example shows how to mock a test that fetches blog post data.
0 commit comments