How to use the ember-data-factory-guy.Scenario.settings function in ember-data-factory-guy

To help you get started, we’ve selected a few ember-data-factory-guy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ciena-frost / ember-frost-list / tests / dummy / app / scenarios / main.js View on Github external
import {Scenario} from 'ember-data-factory-guy'
import ListItems from './list-items'

Scenario.settings({
  logLevel: 1 // All FactoryGuy response info in console
})

export default class extends Scenario {
  run () {
    this.include([ListItems])
  }
}
github danielspaniel / ember-data-factory-guy / tests / dummy / app / scenarios / main.js View on Github external
import { Scenario } from 'ember-data-factory-guy';

import Users from './users';
//import UsersB from './usersB';

Scenario.settings({
  mockjaxLogLevel: 1,
  logLevel: 1,
});

export default class extends Scenario {
  run() {
    this.include([Users]);
//    this.include([UsersB]);
  }
}