Skip to content

v2.7.0-beta.4

Compare
Choose a tag to compare
@danielspaniel danielspaniel released this 23 Jun 10:49
· 724 commits to master since this release
  • Updated logging to include the model name
  • Changed the Scenario.settings to use logLevel, instead of fgLogLevel
// file: app/scenarios/main.js
Scenario.settings({
  logLevel: 1, // 1 ( max for now )
});

// In test environment
// in any test file or setup

FactoryGuy.settings({logLevel: 1});     

What you will see in the logs:

[factory-guy] MockFindAll(user) {users: Array[2]}