This commit is contained in:
Chris Troutner
2024-06-09 09:11:09 -07:00
parent 6cb140a491
commit 707b385b8a
3 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -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()
+1 -2
View File
@@ -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)}`)
+1 -1
View File
@@ -17,7 +17,7 @@ describe('Admin', () => {
afterEach(() => sandbox.restore())
if(!config.noMongo) {
if (!config.noMongo) {
describe('loginAdmin()', () => {
it('should logind admin', async () => {
try {