1
0
mirror of synced 2026-08-05 09:56:56 +00:00

DEV: this class is no longer present in chart js 3.x (#132)

This commit is contained in:
Joffrey JAFFEUX
2021-08-23 11:04:40 +02:00
committed by GitHub
parent 2ed9c505a7
commit ee3c6f4e2d
3 changed files with 2 additions and 12 deletions
@@ -186,9 +186,6 @@ acceptance("Data Explorer Plugin | Run Query", function (needs) {
await click("div.result-info button:nth-child(3)");
assert.ok(
exists("canvas.chartjs-render-monitor"),
"the chart was rendered"
);
assert.ok(exists("canvas"), "the chart was rendered");
});
});
@@ -20,10 +20,6 @@ discourseModule(
async test(assert) {
assert.ok(exists("canvas"), "it renders a canvas");
assert.ok(
exists("canvas.chartjs-render-monitor"),
"it initializes chart.js "
);
},
});
}
@@ -139,10 +139,7 @@ discourseModule(
I18n.t("explorer.show_table"),
"the chart button was changed to the table button"
);
assert.ok(
exists("canvas.chartjs-render-monitor"),
"the chart was rendered"
);
assert.ok(exists("canvas"), "the chart was rendered");
await click("div.result-info button:nth-child(3)");
assert.equal(