8000 Update redisAppender-test.js · mKoder/log4js-node@1cfc4eb · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cfc4eb

Browse files
authored
Update redisAppender-test.js
1 parent cd53058 commit 1cfc4eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/tap/redisAppender-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,12 @@ test('log4js redisAppender', (batch) => {
116116
});
117117

118118
batch.test('config with layout', (t) => {
119-
const result = setupLogging('config with layout', {
119+
const setup = setupLogging('config with layout', {
120120
layout: {
121121
type: 'tester'
122122
}
123123
});
124-
t.equal(result.layout.type, 'tester', 'should configure layout');
124+
t.equal(setup.layouts.type, 'tester', 'should configure layout');
125125
t.end();
126126
});
127127

0 commit comments

Comments
 (0)
0