Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz committed Jul 13, 2020
1 parent 557b1c6 commit 3916e3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/server/logging/layouts/json_layout.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ test('format() meta can override @timestamp', () => {
JSON.parse(
layout.format({
message: 'foo',
timestamp,
level: LogLevel.Debug,
context: 'bar',
pid: 3,
Expand Down Expand Up @@ -232,6 +233,7 @@ test('format() meta can override log level objects', () => {
JSON.parse(
layout.format({
timestamp,
context: '123',
message: 'foo',
level: LogLevel.Error,
pid: 3,
Expand All @@ -247,6 +249,7 @@ test('format() meta can override log level objects', () => {
message: 'foo',
log: {
level: 'FATAL',
logger: '123',
},
process: {
pid: 3,
Expand Down

0 comments on commit 3916e3c

Please sign in to comment.