mirror of
https://github.com/kemko/nomad.git
synced 2026-01-07 19:05:42 +03:00
Add ability to control Mirage logging via query (#6105)
This lets us turn Mirage logging on without editing any files, which makes it easier to switch between branches.
This commit is contained in:
@@ -14,6 +14,8 @@ export function findLeader(schema) {
|
||||
export default function() {
|
||||
this.timing = 0; // delay for each request, automatically set to 0 during testing
|
||||
|
||||
this.logging = window.location.search.includes('mirage-logging=true');
|
||||
|
||||
this.namespace = 'v1';
|
||||
this.trackRequests = Ember.testing;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user