larvituser
Advanced tools
Comparing version 0.13.4 to 0.13.5
{ | ||
"name": "larvituser", | ||
"version": "0.13.4", | ||
"version": "0.13.5", | ||
"author": { | ||
@@ -25,7 +25,7 @@ "name": "Mikael 'Lilleman' Göransson", | ||
"freeport": "^1.0.5", | ||
"mocha": "^4.0.1", | ||
"mocha": "^5.2.0", | ||
"mocha-eslint": "^4.1.0" | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
"test": "mocha --exit" | ||
}, | ||
@@ -32,0 +32,0 @@ "keywords": [ |
@@ -539,5 +539,5 @@ 'use strict'; | ||
it('Get list of users where fieldData exists', function (done) { | ||
const users = new userLib.Users(); | ||
const users = new userLib.Users(); | ||
users.matchExistingFields = ['veryUnique']; | ||
users.matchExistingFields = ['veryUnique']; | ||
@@ -547,5 +547,5 @@ users.get(function (err, userList, totalElements) { | ||
assert.strictEqual(totalElements, 1); | ||
assert.strictEqual(userList.length, 1); | ||
assert.strictEqual(userList[0].username, 'user1'); | ||
assert.strictEqual(totalElements, 1); | ||
assert.strictEqual(userList.length, 1); | ||
assert.strictEqual(userList[0].username, 'user1'); | ||
@@ -573,5 +573,3 @@ done(); | ||
after(function (done) { | ||
setTimeout(function () { | ||
db.removeAllTables(done); | ||
}, 1500); | ||
}); | ||
db.removeAllTables(done); | ||
}); |
Sorry, the diff of this file is not supported yet
84092
19
2245