From c219f5d62ab37914f9ee83884784e24f53a09467 Mon Sep 17 00:00:00 2001 From: Andy Date: Fri, 21 Sep 2018 12:07:41 -0700 Subject: [PATCH] heatmap.js: Fix tests (#29099) --- types/heatmap.js/heatmap.js-tests.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/types/heatmap.js/heatmap.js-tests.ts b/types/heatmap.js/heatmap.js-tests.ts index ca1d3ff604..cc8d62ced4 100644 --- a/types/heatmap.js/heatmap.js-tests.ts +++ b/types/heatmap.js/heatmap.js-tests.ts @@ -115,11 +115,8 @@ declare const container: HTMLElement; data: validData }); - heatmap.setData({ // $ExpectError - min: 0, - max: 1, - data: [{ xPos: 1, yPos: 2, value: 5 }] - }); + // $ExpectError + heatmap.setData({ min: 0, max: 1, data: [{ xPos: 1, yPos: 2, value: 5 }] }); } { @@ -137,11 +134,8 @@ declare const container: HTMLElement; data: validData }); - heatmap.setData({ // $ExpectError - min: 0, - max: 1, - data: [{ x: 1, y: 2, value: 5 }] - }); + // $ExpectError + heatmap.setData({ min: 0, max: 1, data: [{ x: 1, y: 2, value: 5 }] }); } // -- Heatmap#setDataMax / Heatmap#setDataMin --