diff --git a/test/api/unit/middlewares/blocker.test.js b/test/api/unit/middlewares/blocker.test.js index 7e3e167caf..bd5c5c443f 100644 --- a/test/api/unit/middlewares/blocker.test.js +++ b/test/api/unit/middlewares/blocker.test.js @@ -29,7 +29,7 @@ function checkErrorNotThrown (next) { expect(typeof calledWith[0] === 'undefined').to.equal(true); } -describe.only('Blocker middleware', () => { +describe('Blocker middleware', () => { const pathToBlocker = '../../../../website/server/middlewares/blocker'; let res; let req; let next; diff --git a/test/api/unit/models/user.test.js b/test/api/unit/models/user.test.js index 09575a8bf3..5b481b2c9d 100644 --- a/test/api/unit/models/user.test.js +++ b/test/api/unit/models/user.test.js @@ -917,7 +917,7 @@ describe('User Model', () => { }); }); - describe.only('validates email', () => { + describe('validates email', () => { it('does not throw an error for a valid email', () => { const user = new User(); user.auth.local.email = 'hello@example.com'; @@ -946,7 +946,7 @@ describe('User Model', () => { }, }); const schema = requireAgain(pathToUserSchema).UserSchema; - const valid = schema.paths['auth.local.email'].options.validate.every(v => v.validator('blocked@example.com')) + const valid = schema.paths['auth.local.email'].options.validate.every(v => v.validator('blocked@example.com')); expect(valid).to.equal(false); });