mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 19:46:01 +01:00
Fix eslint rules (#5117)
* Fix semi linter rule * Fix semi-spacing linter rule * Fix no-undef-init linter rule * Fix space-before-blocks linter rule
This commit is contained in:
committed by
Julian Lam
parent
727710fbd9
commit
e515b791da
@@ -49,7 +49,7 @@ describe('User', function () {
|
||||
|
||||
describe('.create(), when created', function () {
|
||||
it('should be created properly', function (done) {
|
||||
User.create({username: userData.username, password: userData.password, email: userData.email}, function (error,userId){
|
||||
User.create({username: userData.username, password: userData.password, email: userData.email}, function (error,userId) {
|
||||
assert.equal(error, null, 'was created with error');
|
||||
assert.ok(userId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user