From c10253c01d8d9a9c9068c64d6ab6f92088cc6351 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Mon, 6 Apr 2015 14:30:13 -0700 Subject: [PATCH] [Plot] Add note about test priority WTD-1070. --- platform/features/plot/test/Canvas2DChartSpec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/platform/features/plot/test/Canvas2DChartSpec.js b/platform/features/plot/test/Canvas2DChartSpec.js index 06f53c8bf8..4dd1da81ec 100644 --- a/platform/features/plot/test/Canvas2DChartSpec.js +++ b/platform/features/plot/test/Canvas2DChartSpec.js @@ -31,6 +31,10 @@ define( chart = new Canvas2DChart(mockCanvas); }); + // Note that tests below are less specific than they + // could be, esp. w.r.t. arguments to drawing calls; + // this is a fallback option so is a lower test priority. + it("allows the canvas to be cleared", function () { chart.clear(); expect(mock2d.clearRect).toHaveBeenCalled();