Merge pull request #135 from strongloop/feature/speed-up-user-passwords
Speed up tests accessing User.password
This commit is contained in:
commit
1f80164e69
|
@ -11,6 +11,11 @@ app = null;
|
|||
TaskEmitter = require('strong-task-emitter');
|
||||
request = require('supertest');
|
||||
|
||||
|
||||
// Speed up the password hashing algorithm
|
||||
// for tests using the built-in User model
|
||||
loopback.User.settings.saltWorkFactor = 4;
|
||||
|
||||
beforeEach(function () {
|
||||
app = loopback();
|
||||
|
||||
|
|
Loading…
Reference in New Issue