Update all major dependencies (major) #13536
Annotations
12 errors and 1 warning
unit-test
Generic type 'Mock<T>' requires between 0 and 1 type arguments.
|
unit-test
Generic type 'Mock<T>' requires between 0 and 1 type arguments.
|
packages/mermaid/src/accessibility.spec.ts > accessibility > setA11yDiagramInfo > should not set aria-roledescription if the diagram type is empty:
packages/mermaid/src/accessibility.spec.ts#L24
AssertionError: expected "attr" to be called 1 times, but got 5 times
❯ packages/mermaid/src/accessibility.spec.ts:24:26
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > with a11y title > without a11y description > should not set aria-describedby:
packages/mermaid/src/accessibility.spec.ts#L139
AssertionError: expected "attr" to not be called with arguments: [ 'aria-describedby', Anything ]
Received:
1st attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
2nd attr call:
[
- "aria-describedby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
3rd attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
4th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
5th attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
6th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
7th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
8th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
9th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
10th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
11th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
12th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
13th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
14th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
15th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
Number of calls: 15
❯ packages/mermaid/src/accessibility.spec.ts:139:36
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > with a11y title > without a11y description > should not insert description tag:
packages/mermaid/src/accessibility.spec.ts#L150
AssertionError: expected "spy" to not be called with arguments: [ 'desc', ':first-child' ]
Received:
1st spy call:
Compared values have no visual difference.
2nd spy call:
[
- "desc",
+ "title",
":first-child",
]
3rd spy call:
Compared values have no visual difference.
4th spy call:
[
- "desc",
+ "title",
":first-child",
]
5th spy call:
[
- "desc",
+ "title",
":first-child",
]
6th spy call:
[
- "desc",
+ "title",
":first-child",
]
7th spy call:
[
- "desc",
+ "title",
":first-child",
]
8th spy call:
[
- "desc",
+ "title",
":first-child",
]
Number of calls: 8
❯ packages/mermaid/src/accessibility.spec.ts:150:37
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > with a11y description > should not set aria-labelledby:
packages/mermaid/src/accessibility.spec.ts#L164
AssertionError: expected "attr" to not be called with arguments: [ 'aria-labelledby', Anything ]
Received:
1st attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
2nd attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
3rd attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
4th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
5th attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
6th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
7th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
8th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
9th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
10th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
11th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
12th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
13th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
14th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
15th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
16th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
17th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
18th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
Number of calls: 18
❯ packages/mermaid/src/accessibility.spec.ts:164:36
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > with a11y description > should not insert title tag:
packages/mermaid/src/accessibility.spec.ts#L171
AssertionError: expected "spy" to not be called with arguments: [ 'title', ':first-child' ]
Received:
1st spy call:
[
- "title",
+ "desc",
":first-child",
]
2nd spy call:
Compared values have no visual difference.
3rd spy call:
[
- "title",
+ "desc",
":first-child",
]
4th spy call:
Compared values have no visual difference.
5th spy call:
Compared values have no visual difference.
6th spy call:
Compared values have no visual difference.
7th spy call:
Compared values have no visual difference.
8th spy call:
Compared values have no visual difference.
9th spy call:
[
- "title",
+ "desc",
":first-child",
]
10th spy call:
[
- "title",
+ "desc",
":first-child",
]
Number of calls: 10
❯ packages/mermaid/src/accessibility.spec.ts:171:37
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > without a11y description > should not set aria-labelledby:
packages/mermaid/src/accessibility.spec.ts#L189
AssertionError: expected "attr" to not be called with arguments: [ 'aria-labelledby', Anything ]
Received:
1st attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
2nd attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
3rd attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
4th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
5th attr call:
[
- "aria-labelledby",
- Anything,
+ "role",
+ "graphics-document document",
]
6th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
7th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
8th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
9th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
10th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
11th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
12th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
13th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
14th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
15th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
16th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
17th attr call:
[
"aria-labelledby",
- Anything,
+ "chart-title-theBaseId",
]
18th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
19th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
20th attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
21st attr call:
[
- "aria-labelledby",
- Anything,
+ "aria-describedby",
+ "chart-desc-theBaseId",
]
Number of calls: 21
❯ packages/mermaid/src/accessibility.spec.ts:189:36
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > without a11y description > should not set aria-describedby:
packages/mermaid/src/accessibility.spec.ts#L195
AssertionError: expected "attr" to not be called with arguments: [ 'aria-describedby', Anything ]
Received:
1st attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
2nd attr call:
[
- "aria-describedby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
3rd attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
4th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-roledescription",
+ "flowchart",
]
5th attr call:
[
- "aria-describedby",
- Anything,
+ "role",
+ "graphics-document document",
]
6th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
7th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
8th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
9th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
10th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
11th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
12th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
13th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
14th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
15th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
16th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
17th attr call:
[
- "aria-describedby",
- Anything,
+ "aria-labelledby",
+ "chart-title-theBaseId",
]
18th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
19th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
20th attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
21st attr call:
[
"aria-describedby",
- Anything,
+ "chart-desc-theBaseId",
]
Number of calls: 21
❯ packages/mermaid/src/accessibility.spec.ts:195:36
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > without a11y description > should not insert title tag:
packages/mermaid/src/accessibility.spec.ts#L202
AssertionError: expected "spy" to not be called with arguments: [ 'title', ':first-child' ]
Received:
1st spy call:
[
- "title",
+ "desc",
":first-child",
]
2nd spy call:
Compared values have no visual difference.
3rd spy call:
[
- "title",
+ "desc",
":first-child",
]
4th spy call:
Compared values have no visual difference.
5th spy call:
Compared values have no visual difference.
6th spy call:
Compared values have no visual difference.
7th spy call:
Compared values have no visual difference.
8th spy call:
Compared values have no visual difference.
9th spy call:
[
- "title",
+ "desc",
":first-child",
]
10th spy call:
[
- "title",
+ "desc",
":first-child",
]
11th spy call:
[
- "title",
+ "desc",
":first-child",
]
12th spy call:
[
- "title",
+ "desc",
":first-child",
]
Number of calls: 12
❯ packages/mermaid/src/accessibility.spec.ts:202:37
|
packages/mermaid/src/accessibility.spec.ts > accessibility > addSVGa11yTitleDescription > with svg d3 object > without a11y title > without a11y description > should not insert description tag:
packages/mermaid/src/accessibility.spec.ts#L209
AssertionError: expected "spy" to not be called with arguments: [ 'desc', ':first-child' ]
Received:
1st spy call:
Compared values have no visual difference.
2nd spy call:
[
- "desc",
+ "title",
":first-child",
]
3rd spy call:
Compared values have no visual difference.
4th spy call:
[
- "desc",
+ "title",
":first-child",
]
5th spy call:
[
- "desc",
+ "title",
":first-child",
]
6th spy call:
[
- "desc",
+ "title",
":first-child",
]
7th spy call:
[
- "desc",
+ "title",
":first-child",
]
8th spy call:
[
- "desc",
+ "title",
":first-child",
]
9th spy call:
Compared values have no visual difference.
10th spy call:
Compared values have no visual difference.
11th spy call:
Compared values have no visual difference.
12th spy call:
Compared values have no visual difference.
Number of calls: 12
❯ packages/mermaid/src/accessibility.spec.ts:209:37
|
unit-test
Process completed with exit code 1.
|
unit-test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|