Skip to content

Commit 8a2fa75

Browse files
committed
test(plugin.legend): fix test fixtures to avoid cross-browser font inconsistency
1 parent d5c7bf6 commit 8a2fa75

File tree

40 files changed

+20
-1
lines changed

40 files changed

+20
-1
lines changed

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-auto-hidden.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
}
2626
},
2727
"options": {
28+
"spriteText": true,
2829
"canvas": {
2930
"height": 256,
3031
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-auto-visible.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
}
3737
},
3838
"options": {
39+
"spriteText": true,
3940
"canvas": {
4041
"height": 256,
4142
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-multiple-lines.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
}
4848
},
4949
"options": {
50+
"spriteText": true,
5051
"canvas": {
5152
"height": 256,
5253
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-align-center-center.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-align-center-end.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-align-center-start.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-align-start-center.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-align-start-end.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-bottom.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
}
3737
},
3838
"options": {
39+
"spriteText": true,
3940
"canvas": {
4041
"height": 256,
4142
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-single.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
}
2626
},
2727
"options": {
28+
"spriteText": true,
2829
"canvas": {
2930
"height": 256,
3031
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-horizontal-visible-title.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
}
4141
},
4242
"options": {
43+
"spriteText": true,
4344
"canvas": {
4445
"height": 256,
4546
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-multiple-cols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
}
5353
},
5454
"options": {
55+
"spriteText": true,
5556
"canvas": {
5657
"height": 256,
5758
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-multiple-lines.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
}
4646
},
4747
"options": {
48+
"spriteText": true,
4849
"canvas": {
4950
"height": 256,
5051
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-align-center.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-align-end-multiple-cols.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
}
4545
},
4646
"options": {
47+
"spriteText": true,
4748
"canvas": {
4849
"height": 256,
4950
"width": 512

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-align-end.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828
"options": {
29+
"spriteText": true,
2930
"canvas": {
3031
"height": 256,
3132
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-left.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
}
3737
},
3838
"options": {
39+
"spriteText": true,
3940
"canvas": {
4041
"height": 256,
4142
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-single.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
}
3737
},
3838
"options": {
39+
"spriteText": true,
3940
"canvas": {
4041
"height": 256,
4142
"width": 512
Loading

test/fixtures/plugin.legend/navigation/legend-navigation-vertical-visible-title.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
}
4141
},
4242
"options": {
43+
"spriteText": true,
4344
"canvas": {
4445
"height": 256,
4546
"width": 512
Loading

test/fixtures/plugin.legend/title/multiline.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"align": "center",
1919
"title": {
2020
"display": true,
21-
"text": ["Title", "Multiline", "Example"]
21+
"text": ["", "", ""]
2222
}
2323
}
2424
}
-1.86 KB
Loading

0 commit comments

Comments
 (0)