Separate e2e tests

This commit is contained in:
Daniel Gonzalez
2025-05-28 20:52:25 -04:00
parent 3f91653d23
commit 8843b3e2b0
5 changed files with 80 additions and 88 deletions
-5
View File
@@ -15,8 +15,6 @@ import axios from 'axios'
import config from '../../../config/index.js'
// import Server from '../../../bin/server.js'
import testUtils from '../../utils/test-utils.js'
import AdminLib from '../../../src/adapters/admin.js'
const adminLib = new AdminLib()
// const request = supertest.agent(app.listen())
const context = {}
@@ -39,9 +37,6 @@ if (!config.noMongo) {
// Delete all previous users in the database.
await testUtils.deleteAllUsers()
// Create a new admin user.
await adminLib.createSystemUser()
const userObj = {
email: 'test@test.com',
password: 'pass',