Skip to content

Commit 9ec0fa8

Browse files
authored
Change tests configuration using new 'common' plugin option (#734)
1 parent 7e85eef commit 9ec0fa8

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

test/fixtures/line/labelsScriptableOptions.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ module.exports = {
1616
},
1717
plugins: {
1818
annotation: {
19-
drawTime() {
20-
return 'afterDatasetsDraw';
19+
common: {
20+
drawTime() {
21+
return 'afterDatasetsDraw';
22+
}
2123
},
2224
annotations: {
2325
auto1: {

test/fixtures/line/scriptableOptions.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ module.exports = {
1616
},
1717
plugins: {
1818
annotation: {
19-
drawTime() {
20-
return 'afterDatasetsDraw';
19+
common: {
20+
drawTime() {
21+
return 'afterDatasetsDraw';
22+
}
2123
},
2224
annotations: {
2325
auto1: {

test/fixtures/polygon/hexagonWithPoints.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ module.exports = {
1818
plugins: {
1919
legend: false,
2020
annotation: {
21-
drawTime: 'afterDraw',
21+
common: {
22+
drawTime: 'afterDraw'
23+
},
2224
annotations: {
2325
octagon: {
2426
type: 'polygon',

0 commit comments

Comments
 (0)