chore(deps-dev): bump vitest from 3.2.4 to 4.0.9 #2396
Annotations
11 errors
|
src/store/logging.spec.ts > store:logging > only starts one polling timer:
src/store/logging.spec.ts#L553
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
Object {
"lastReqId": "",
},
]
2nd vi.fn() call:
Array [
Object {
"lastReqId": "1234",
},
]
Number of calls: 2
❯ src/store/logging.spec.ts:553:29
|
|
src/store/logging.spec.ts > store:logging > can stop polling for new entries:
src/store/logging.spec.ts#L525
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
Object {
"lastReqId": "",
},
]
2nd vi.fn() call:
Array [
Object {
"lastReqId": "1234",
},
]
Number of calls: 2
❯ src/store/logging.spec.ts:525:29
|
|
src/store/logging.spec.ts > store:logging > can poll for new entries with old available:
src/store/logging.spec.ts#L496
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
Object {
"lastReqId": "",
},
]
2nd vi.fn() call:
Array [
Object {
"lastReqId": "1234",
},
]
Number of calls: 2
❯ src/store/logging.spec.ts:496:29
|
|
src/store/logging.spec.ts > store:logging > can poll for new entries:
src/store/logging.spec.ts#L469
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
Object {
"lastReqId": "",
},
]
2nd vi.fn() call:
Array [
Object {
"lastReqId": "1234",
},
]
Number of calls: 2
❯ src/store/logging.spec.ts:469:29
|
|
src/store/logging.spec.ts > store:logging > does not load more with pending request:
src/store/logging.spec.ts#L445
AssertionError: expected "vi.fn()" to be called 1 times, but got 4 times
❯ src/store/logging.spec.ts:445:24
|
|
src/store/logging.spec.ts > store:logging > does not loads more from server when local file is used:
src/store/logging.spec.ts#L409
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 3 times
Received:
1st vi.fn() call:
Array [
Object {
"offset": 0,
"query": "bye",
},
]
2nd vi.fn() call:
Array [
Object {
"offset": 0,
"query": "",
},
]
3rd vi.fn() call:
Array [
Object {
"offset": 0,
"query": "",
},
]
Number of calls: 3
❯ src/store/logging.spec.ts:409:28
|
|
src/store/logging.spec.ts > store:logging > does not load file if no file was selected:
src/store/logging.spec.ts#L226
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 1 times
Received:
1st vi.fn() call:
Array [
File {
"lastModified": 1763129342281,
"name": "logfile",
"type": "",
Symbol(buffer): Object {
"data": Array [],
"type": "Buffer",
},
},
]
Number of calls: 1
❯ src/store/logging.spec.ts:226:34
|
|
src/store/logging.spec.ts > store:logging > not searches on server when local file is loaded:
src/store/logging.spec.ts#L174
AssertionError: expected "vi.fn()" to not be called at all, but actually been called 2 times
Received:
1st vi.fn() call:
Array [
Object {
"offset": 0,
"query": "bye",
},
]
2nd vi.fn() call:
Array [
Object {
"offset": 0,
"query": "",
},
]
Number of calls: 2
❯ src/store/logging.spec.ts:174:28
|
|
src/utils/clipboard.spec.ts > utils:clipboard > opens promp if not supported clipboard:
src/utils/clipboard.spec.ts#L22
Error: vi.spyOn() can only spy on a function. Received undefined.
❯ src/utils/clipboard.spec.ts:22:21
|
|
src/utils/clipboard.spec.ts > utils:clipboard > writes to clipboard:
src/utils/clipboard.spec.ts#L12
Error: vi.spyOn() can only spy on a function. Received undefined.
❯ src/utils/clipboard.spec.ts:12:21
|
|
test-summary
Process completed with exit code 1.
|