mirror of
https://github.com/nasa/openmct.git
synced 2025-05-31 06:31:04 +00:00
[Plot] Add note about test priority
WTD-1070.
This commit is contained in:
parent
e01c45df2e
commit
c10253c01d
@ -31,6 +31,10 @@ define(
|
|||||||
chart = new Canvas2DChart(mockCanvas);
|
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 () {
|
it("allows the canvas to be cleared", function () {
|
||||||
chart.clear();
|
chart.clear();
|
||||||
expect(mock2d.clearRect).toHaveBeenCalled();
|
expect(mock2d.clearRect).toHaveBeenCalled();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user