Skip to content

Commit ca0ae2a

Browse files
committed
test: more code coverage
1 parent 0fb88d5 commit ca0ae2a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/lambdaLog.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ describe('LambdaLog', function() {
4949
assert(Array.isArray(log._levels));
5050
assert(log._levels.length === 4);
5151
});
52+
53+
it('should include custom log levels', () => {
54+
let log = new LambdaLog({}, { test: 'log' });
55+
assert(log._logLevels.test === 'log');
56+
});
5257
});
5358

5459
describe ('Custom', () => {

0 commit comments

Comments
 (0)