Got unit tests passing again

This commit is contained in:
Chris Troutner
2021-08-08 08:09:48 -07:00
parent 0346898501
commit 758de6b088
7 changed files with 21 additions and 13 deletions
+3
View File
@@ -25,6 +25,9 @@ describe('Auth', () => {
// This should be the first instruction. It starts the REST API server.
await app.startServer()
// Stop the IPFS node for the rest of the e2e tests.
// await app.controllers.adapters.ipfs.stop()
// Delete all previous users in the database.
await testUtils.deleteAllUsers()
+2 -1
View File
@@ -12,7 +12,8 @@ const LOCALHOST = `http://localhost:${config.port}`
const context = {}
const UserController = require('../../../src/controllers/rest-api/users/controller')
const adapters = require('../../../src/adapters')
const Adapters = require('../../../src/adapters')
const adapters = new Adapters()
const UseCases = require('../../../src/use-cases/')
let uut
let sandbox