docs: removed erroneous tip message #146
Annotations
10 errors and 1 warning
test/filters.test.ts > log filtering > when excluded filter configured it excludes logs with provided namespaces:
test/filters.test.ts#L106
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(3) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"#bar ",
"Included",
]
❯ test/filters.test.ts:106:25
|
test/filters.test.ts > log filtering > when include filter configured it excludes logs with provided namespaces:
test/filters.test.ts#L132
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(3) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"#foo ",
"Included",
]
❯ test/filters.test.ts:132:25
|
test/filters.test.ts > log filtering > when excluded filter configured it excludes logs with provided labels:
test/filters.test.ts#L160
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(3) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"[bar] ",
"Included",
]
❯ test/filters.test.ts:160:25
|
test/filters.test.ts > log filtering > when include filter configured it excludes logs with provided labels:
test/filters.test.ts#L185
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(3) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"[foo] ",
"Included",
]
❯ test/filters.test.ts:185:25
|
test/filters.test.ts > log filtering > when excluded filter configured it excludes logs with provided levels:
test/filters.test.ts#L213
AssertionError: expected 1st "spy" call to have been called with [ '%c Info', …(2) ]
- Expected
+ Received
Array [
"%c Info",
- "padding-right: 52px; font-size: 12px; border-radius: 4px; background: linear-gradient(to right, #d8ebff, #b2d7ff); color: #465464; border-color: #96b5d7;",
+ "padding-right: 44px; font-size: 12px; border-radius: 4px; background: linear-gradient(to right, #d8ebff, #b2d7ff); color: #465464; border-color: #96b5d7;",
"Included",
]
❯ test/filters.test.ts:213:26
|
test/filters.test.ts > log filtering > when include filter configured it excludes logs with provided levels:
test/filters.test.ts#L238
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(2) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"Included",
]
❯ test/filters.test.ts:238:25
|
test/mdc.test.ts > mapped diagnostic context > records context throughout a thread and dumps it:
test/mdc.test.ts#L28
AssertionError: expected "spy" to be called with arguments: [ '%c Log', …(4) ]
Received:
1st spy call:
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"[test] ",
"This log contains output from MDC thread.",
Object {
"added": Object {
"a": 1,
"answer": 3,
"b": 2,
},
"subtracted": Object {
"answer": 1,
"x": 4,
"y": 3,
},
},
]
Number of calls: 1
❯ test/mdc.test.ts:28:25
|
test/mdc.test.ts > mapped diagnostic context > closing a thread resets the context:
test/mdc.test.ts#L57
AssertionError: expected 1st "spy" call to have been called with [ '%c Log', …(4) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"[test] ",
"This log contains output from MDC thread.",
Object {
"x": Object {
"hello": "world",
},
},
]
❯ test/mdc.test.ts:57:25
|
test/modifiers.test.ts > modifiers with pretty format in the browser > adds meta data to the log:
test/modifiers.test.ts#L20
AssertionError: expected "spy" to be called with arguments: [ '%c Log', …(2) ]
Received:
1st spy call:
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"Test log.",
]
Number of calls: 1
❯ test/modifiers.test.ts:20:25
|
test/modifiers.test.ts > modifiers with pretty format in the browser > log does not print when marked as silent:
test/modifiers.test.ts#L32
AssertionError: expected [ '%c Log', …(2) ] to strictly equal [ '%c Log', …(2) ]
- Expected
+ Received
Array [
"%c Log",
- "font-size: 12px; border-radius: 4px; padding-right: 60px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
+ "font-size: 12px; border-radius: 4px; padding-right: 51px; background: linear-gradient(to right, #ecedef, #d9dce0); color: #333435; border-color: #bfc1c5;",
"Test log.",
]
❯ test/modifiers.test.ts:32:34
❯ src/log.ts:1346:7
❯ Log.terminate src/log.ts:1345:48
❯ Log.log src/log.ts:288:10
❯ test/modifiers.test.ts:41:17
|
docs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dist
Expired
|
48.2 KB |
|