Skip to content

Commit

Permalink
test: more code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleRoss committed Mar 20, 2019
1 parent 0fb88d5 commit ca0ae2a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/lambdaLog.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ describe('LambdaLog', function() {
assert(Array.isArray(log._levels));
assert(log._levels.length === 4);
});

it('should include custom log levels', () => {
let log = new LambdaLog({}, { test: 'log' });
assert(log._logLevels.test === 'log');
});
});

describe ('Custom', () => {
Expand Down

0 comments on commit ca0ae2a

Please sign in to comment.