mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 10:16:12 +01:00
missing comma
This commit is contained in:
@@ -61,7 +61,7 @@ describe('Hash methods', function() {
|
|||||||
|
|
||||||
describe('getObjects()', function() {
|
describe('getObjects()', function() {
|
||||||
it('should return 3 objects with correct data', function(done) {
|
it('should return 3 objects with correct data', function(done) {
|
||||||
db.getObjects(['testObject1' 'testObject2', 'doesnotexist'], function(err, objects) {
|
db.getObjects(['testObject1', 'testObject2', 'doesnotexist'], function(err, objects) {
|
||||||
assert.equal(err, null);
|
assert.equal(err, null);
|
||||||
assert.equal(arguments.length, 2);
|
assert.equal(arguments.length, 2);
|
||||||
assert.equal(Array.isArray(objects) && objects.length === 3, true);
|
assert.equal(Array.isArray(objects) && objects.length === 3, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user