miragejs / ember-cli-mirage

An Ember Addon to easily add Mirage JS to your Ember app.
http://ember-cli-mirage.com
MIT License
863 stars 441 forks source link

Add "Mirage logging" checkbox to QUnit user interface #1783

Closed Turbo87 closed 4 years ago

Turbo87 commented 4 years ago
Bildschirmfoto 2019-10-09 um 14 43 31

QUnit has an API for adding checkboxes to it:

QUnit.config.urlConfig.push({
  id: 'mirageLogging',
  label: 'Mirage logging',
});

The value of this checkbox is later available as:

server.logging = QUnit.config.mirageLogging;

It would be great to have this be added by default when using ember-cli-mirage in combination with QUnit.

Happy to work on this if it is something that is considered useful :)

samselikoff commented 4 years ago

Sounds awesome – go for it!