From 707b385b8afb198ab873673c448001057b4056c3 Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Sun, 9 Jun 2024 09:11:09 -0700 Subject: [PATCH] linting --- test/e2e/automated/a01-auth.rest-e2e.js | 2 +- test/e2e/automated/a02-users.rest-e2e.js | 3 +-- test/e2e/automated/a09-admin.rest-e2e.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/e2e/automated/a01-auth.rest-e2e.js b/test/e2e/automated/a01-auth.rest-e2e.js index 22fc6ea..d6d21d0 100644 --- a/test/e2e/automated/a01-auth.rest-e2e.js +++ b/test/e2e/automated/a01-auth.rest-e2e.js @@ -23,7 +23,7 @@ const context = {} const LOCALHOST = `http://localhost:${config.port}` -if(!config.noMongo) { +if (!config.noMongo) { describe('Auth', () => { before(async () => { const app = new Server() diff --git a/test/e2e/automated/a02-users.rest-e2e.js b/test/e2e/automated/a02-users.rest-e2e.js index ba3d016..1d9a992 100644 --- a/test/e2e/automated/a02-users.rest-e2e.js +++ b/test/e2e/automated/a02-users.rest-e2e.js @@ -19,8 +19,7 @@ let sandbox // const mockContext = require('../../unit/mocks/ctx-mock').context -if(!config.noMongo) { - +if (!config.noMongo) { describe('Users', () => { before(async () => { // console.log(`config: ${JSON.stringify(config, null, 2)}`) diff --git a/test/e2e/automated/a09-admin.rest-e2e.js b/test/e2e/automated/a09-admin.rest-e2e.js index 9c3ab2f..62901b0 100644 --- a/test/e2e/automated/a09-admin.rest-e2e.js +++ b/test/e2e/automated/a09-admin.rest-e2e.js @@ -17,7 +17,7 @@ describe('Admin', () => { afterEach(() => sandbox.restore()) - if(!config.noMongo) { + if (!config.noMongo) { describe('loginAdmin()', () => { it('should logind admin', async () => { try {