chore(deps): update vitest monorepo to v3 (major) #311
Annotations
10 errors
src/tasks/check.spec.ts > check > updateCheckAnnotations > should transform a duplicate ItemMeta to a valid annotation:
src/tasks/check.spec.ts#L93
AssertionError: expected "updateCheck" to be called once, but got 2 times
❯ src/tasks/check.spec.ts:93:30
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should output a warning annotation if ignoreResults is enabled:
src/tasks/check.spec.ts#L111
AssertionError: expected "updateCheck" to be called once, but got 3 times
❯ src/tasks/check.spec.ts:111:30
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should output a failure annotation if ignoreResults is disabled:
src/tasks/check.spec.ts#L131
AssertionError: expected "updateCheck" to be called once, but got 4 times
❯ src/tasks/check.spec.ts:131:30
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should skip undefined or null ItemMeta entries:
src/tasks/check.spec.ts#L153
AssertionError: expected "updateCheck" to be called once, but got 5 times
❯ src/tasks/check.spec.ts:153:30
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should not make any calls if there are no ItemMeta entries:
src/tasks/check.spec.ts#L163
AssertionError: expected "updateCheck" to not be called at all, but actually been called 5 times
Received:
1st updateCheck call:
Array [
0,
"in_progress",
Object {
"annotations": Array [
Object {
"annotation_level": "failure",
"end_column": 3,
"end_line": 0,
"message": "'Var' is an unused class member",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
],
"summary": "",
"title": "Knip reporter analysis",
},
]
2nd updateCheck call:
Array [
0,
"in_progress",
Object {
"annotations": Array [
Object {
"annotation_level": "failure",
"end_column": 3,
"end_line": 0,
"message": "'Var' is a duplicate",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
Object {
"annotation_level": "failure",
"end_column": 4,
"end_line": 0,
"message": "'Var2' is a duplicate of 'Var3'",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
Object {
"annotation_level": "failure",
"end_column": 4,
"end_line": 0,
"message": "'Var4' is a duplicate of 'Var5' and 'Var6'",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
Object {
"annotation_level": "failure",
"end_column": 4,
"end_line": 0,
"message": "'Var7' is a duplicate of 'Var8', 'Var9' and 'Var10'",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
],
"summary": "",
"title": "Knip reporter analysis",
},
]
3rd updateCheck call:
Array [
0,
"in_progress",
Object {
"annotations": Array [
Object {
"annotation_level": "warning",
"end_column": 3,
"end_line": 0,
"message": "'Var' is an unused class member",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
],
"summary": "",
"title": "Knip reporter analysis",
},
]
4th updateCheck call:
Array [
0,
"in_progress",
Object {
"annotations": Array [
Object {
"annotation_level": "failure",
"end_column": 3,
"end_line": 0,
"message": "'Var' is an unused class member",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
],
"summary": "",
"title": "Knip reporter analysis",
},
]
5th updateCheck call:
Array [
0,
"in_progress",
Object {
"annotations": Array [
Object {
"annotation_level": "failure",
"end_column": 3,
"end_line": 0,
"message": "'Var' is an unused class member",
"path": "some/path",
"start_column": 0,
"start_line": 0,
},
],
"summary": "",
"title": "Knip reporter analysis",
},
]
Number of calls: 5
❯ src/tasks/check.spec.ts:163:34
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should only make one request with 50 annotations or less:
src/tasks/check.spec.ts#L296
AssertionError: expected "updateCheck" to be called once, but got 9 times
❯ src/tasks/check.spec.ts:296:30
|
src/tasks/check.spec.ts > check > updateCheckAnnotations > should only make three requests with 150 annotations:
src/tasks/check.spec.ts#L345
AssertionError: expected "updateCheck" to be called 3 times, but got 12 times
❯ src/tasks/check.spec.ts:345:30
|
src/tasks/comment.spec.ts > comment > createOrUpdateComments > should update comments:
src/tasks/comment.spec.ts#L37
AssertionError: expected "createComment" to not be called at all, but actually been called 3 times
Received:
1st createComment call:
Array [
0,
"test1",
]
2nd createComment call:
Array [
0,
"test2",
]
3rd createComment call:
Array [
0,
"test3",
]
Number of calls: 3
❯ src/tasks/comment.spec.ts:37:36
|
src/tasks/comment.spec.ts > comment > createOrUpdateComments > should update if possible or create:
src/tasks/comment.spec.ts#L55
AssertionError: expected "createComment" to be called once, but got 4 times
❯ src/tasks/comment.spec.ts:55:32
|
src/tasks/comment.spec.ts > comment > createOrUpdateComments > should return extraneous IDs to be delete:
src/tasks/comment.spec.ts#L78
AssertionError: expected "createComment" to not be called at all, but actually been called 4 times
Received:
1st createComment call:
Array [
0,
"test1",
]
2nd createComment call:
Array [
0,
"test2",
]
3rd createComment call:
Array [
0,
"test3",
]
4th createComment call:
Array [
0,
"test3",
]
Number of calls: 4
❯ src/tasks/comment.spec.ts:78:36
|