diff --git a/test/fixtures/line/labelsScriptableOptions.js b/test/fixtures/line/labelsScriptableOptions.js index e7e671f60..bc3a3b283 100644 --- a/test/fixtures/line/labelsScriptableOptions.js +++ b/test/fixtures/line/labelsScriptableOptions.js @@ -16,8 +16,10 @@ module.exports = { }, plugins: { annotation: { - drawTime() { - return 'afterDatasetsDraw'; + common: { + drawTime() { + return 'afterDatasetsDraw'; + } }, annotations: { auto1: { diff --git a/test/fixtures/line/scriptableOptions.js b/test/fixtures/line/scriptableOptions.js index 48405a8d8..8b433fce1 100644 --- a/test/fixtures/line/scriptableOptions.js +++ b/test/fixtures/line/scriptableOptions.js @@ -16,8 +16,10 @@ module.exports = { }, plugins: { annotation: { - drawTime() { - return 'afterDatasetsDraw'; + common: { + drawTime() { + return 'afterDatasetsDraw'; + } }, annotations: { auto1: { diff --git a/test/fixtures/polygon/hexagonWithPoints.js b/test/fixtures/polygon/hexagonWithPoints.js index 04dbf6b43..06f06756b 100644 --- a/test/fixtures/polygon/hexagonWithPoints.js +++ b/test/fixtures/polygon/hexagonWithPoints.js @@ -18,7 +18,9 @@ module.exports = { plugins: { legend: false, annotation: { - drawTime: 'afterDraw', + common: { + drawTime: 'afterDraw' + }, annotations: { octagon: { type: 'polygon',