How to use the ember-data-factory-guy.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 danielspaniel / ember-data-factory-guy / tests / helpers / module-for-acceptance.js View on Github external
beforeEach() {
      this.application = startApp();
      FactoryGuy.settings({logLevel: 0});
      if (options.beforeEach) {
        return options.beforeEach.apply(this, arguments);
      }
    },
github danielspaniel / ember-data-factory-guy / tests / helpers / utility-methods.js View on Github external
hooks.beforeEach(function() {
    manualSetup(this);
    containerSetup(this.owner, serializerType);
    FactoryGuy.settings({responseTime: 0, logLevel: 0});
  });
}
github danielspaniel / ember-data-factory-guy / addon / scenario.js View on Github external
static settings(opts = {}) {
    FactoryGuy.settings(opts);
  }