Questions tagged [ember-cli-mirage]

Ember CLI Mirage is a mock server that lets you easily mock a JSON API.

Ember CLI Mirage is a mock server that lets you easily mock a JSON API. Factories and fixtures can be defined. It allows for pass-through to an existing API, making it useful for developing new features.

See the homepage, and on github.

168 questions
0
votes
1 answer

Debugging Ember CLI Mirage in an acceptance test

I'm trying to setup a mock server in for my Ember CLI (1.13.1) acceptance test with Ember CLI Mirage. I'm stuck on how to debug the setup and actually test the model data available in the view. I tried adding a console log statement inside my mirage…
max
  • 96,212
  • 14
  • 104
  • 165
0
votes
1 answer

How do I write a custom route in Ember CLI Mirage?

How do I write a custom route? I'd like to write a route that returns 5 users (regardless of how many are in the database), but the available shorthands aren't cutting it. I looked at the documentation, but I am still confused.
Sam Selikoff
  • 12,366
  • 13
  • 58
  • 104
-1
votes
1 answer

this.passthrough() functionality in Ember

I am writing an application in Ember.js and I am also using Ember mirage. I need to make requests to an external server and I am currently trying to set up my config.js file to deal with such requests. Adding this.passthrough() does not work and I…
Jackie M
  • 11
  • 3
1 2 3
11
12