diff --git a/config/index.js b/config/index.js index 25a7e5c..05ccfd8 100644 --- a/config/index.js +++ b/config/index.js @@ -14,8 +14,4 @@ if (env === 'test') { config = production } -// const importStr = `./env/${env}.js` -// console.log('importStr: ', importStr) -// import config from importStr - export default Object.assign({}, common, config) diff --git a/config/passport.js b/config/passport.js index f28c540..abf4c27 100644 --- a/config/passport.js +++ b/config/passport.js @@ -53,7 +53,4 @@ function applyPassportMods (passport) { return true } -// For testing -// export default { passport, passportCallback }; -// export default applyPassportMods export { applyPassportMods, passportCallback } diff --git a/src/controllers/rest-api/ipfs/index.js b/src/controllers/rest-api/ipfs/index.js index 3e3b14f..56d4e2c 100644 --- a/src/controllers/rest-api/ipfs/index.js +++ b/src/controllers/rest-api/ipfs/index.js @@ -59,10 +59,6 @@ class IpfsRouter { app.use(this.router.routes()) app.use(this.router.allowedMethods()) } - - // async getStatus (ctx, next) { - // await _this.ipfsRESTController.getStatus(ctx, next) - // } } // module.exports = BchRouter diff --git a/src/use-cases/index.js b/src/use-cases/index.js index 9dee416..a2ffac6 100644 --- a/src/use-cases/index.js +++ b/src/use-cases/index.js @@ -21,15 +21,9 @@ class UseCases { // Run any startup Use Cases at the start of the app. async start () { - // try { console.log('Async Use Cases have been started.') return true - // } catch (err) { - // console.error('Error in use-cases/index.js/start()') - // // console.log(err) - // throw err - // } } } diff --git a/test/unit/controllers/rest-api/ipfs/ipfs.rest.router.unit.js b/test/unit/controllers/rest-api/ipfs/ipfs.rest.router.unit.js index b2b4f13..c7fb8bd 100644 --- a/test/unit/controllers/rest-api/ipfs/ipfs.rest.router.unit.js +++ b/test/unit/controllers/rest-api/ipfs/ipfs.rest.router.unit.js @@ -1,5 +1,5 @@ /* - Unit tests for the REST API handler for the /users endpoints. + Unit tests for the REST API handler for the /ipfs endpoints. */ // Public npm libraries