Skip to content

Commit 71dcb7a

Browse files
authored
TestKit: use env var for logging level that's being forwarded (#1179)
Signed-off-by: Antonio Barcelos <[email protected]>
1 parent 1fcdee9 commit 71dcb7a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/testkit-backend/deno/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const binder = new CypherNativeBinders(neo4j);
2525
const descriptor = ["async", "deno"];
2626
const shouldRunTest = getShouldRunTest(descriptor);
2727
const getFeatures = createGetFeatures(descriptor);
28-
const logLevel = Deno.env.get("LOG_LEVEL");
28+
const logLevel = Deno.env.get("TEST_LOG_LEVEL");
2929
const createContext = () =>
3030
new Context(shouldRunTest, getFeatures, binder, logLevel);
3131

packages/testkit-backend/src/controller/local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default class LocalController extends Controller {
2222
}
2323

2424
openContext (contextId) {
25-
this._contexts.set(contextId, new Context(this._shouldRunTest, this._getFeatures, this._binder, process.env.LOG_LEVEL))
25+
this._contexts.set(contextId, new Context(this._shouldRunTest, this._getFeatures, this._binder, process.env.TEST_LOG_LEVEL))
2626
}
2727

2828
closeContext (contextId) {

0 commit comments

Comments
 (0)