diff --git a/test/apps/app/server/index.js b/test/apps/app/server/index.js index c880fbfe62..a1ea549845 100644 --- a/test/apps/app/server/index.js +++ b/test/apps/app/server/index.js @@ -15,12 +15,11 @@ require('@okta/env').setEnvironmentVarsFromTestEnv(__dirname); -if (!!process.env.DEBUG) { - // do nothing -} -else { +if (!process.env.DEBUG) { + /* eslint-disable @typescript-eslint/no-empty-function */ console.log = (()=>{}); console.error = (()=>{}); + /* eslint-enable @typescript-eslint/no-empty-function */ } const createProxyMiddleware = require('./proxyMiddleware'); diff --git a/test/support/monolith/create-e2e-env.ts b/test/support/monolith/create-e2e-env.ts index 32a743aff9..73b1461a99 100644 --- a/test/support/monolith/create-e2e-env.ts +++ b/test/support/monolith/create-e2e-env.ts @@ -1,4 +1,4 @@ -// eslint-disable-next-line no-undef, node/no-missing-import +// eslint-disable-next-line no-undef, node/no-missing-import, node/no-extraneous-import import * as dockolith from '@okta/dockolith'; import { writeFileSync } from 'fs'; import * as path from 'path';