switch to @pinojs/dateformat #613
+3
−3
Draft
Annotations
11 errors
|
test/error-objects.test.js#L414
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:414:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as error] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:422:9)
}
|
|
test/error-objects.test.js#L295
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:295:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:305:9)
}
|
|
test/error-objects.test.js#L262
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:262:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as error] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:283:9)
}
|
|
test/error-objects.test.js#L222
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:222:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:238:9)
}
|
|
test/error-objects.test.js#L192
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:192:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:206:9)
}
|
|
test/error-objects.test.js#L165
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:165:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:176:9)
}
|
|
test/error-objects.test.js#L131
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:131:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:146:9)
}
|
|
test/error-objects.test.js#L96
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:96:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:111:9)
}
|
|
test/error-objects.test.js#L62
[Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:62:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as error] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:75:9)
}
|
|
test/error-objects.test.js#L46
Error [ERR_TEST_FAILURE]: Class constructor DateFormatter cannot be invoked without 'new'
at async Promise.all (index 0) {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: TypeError [Error]: Class constructor DateFormatter cannot be invoked without 'new'
at formatTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/format-time.js:49:12)
at prettifyTime (/home/runner/work/pino-pretty/pino-pretty/lib/utils/prettify-time.js:39:36)
at Object.pretty (/home/runner/work/pino-pretty/pino-pretty/lib/pretty.js:95:26)
at Writable.write [as _write] (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:46:27)
at writeOrBuffer (node:internal/streams/writable:570:12)
at _write (node:internal/streams/writable:499:10)
at Writable.write (node:internal/streams/writable:508:10)
at Pino.write (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/proto.js:220:10)
at Pino.LOG [as info] (/home/runner/work/pino-pretty/pino-pretty/node_modules/pino/lib/tools.js:62:21)
at TestContext.<anonymous> (/home/runner/work/pino-pretty/pino-pretty/test/error-objects.test.js:54:9)
}
|
|
|
The logs for this run have expired and are no longer available.
Loading