X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=auto_tests%2Ftests%2Fcustom_asserts.js;fp=auto_tests%2Ftests%2Fcustom_asserts.js;h=9391f895d309a52cd1dc99d9c377185d8961baa1;hb=e8c70e4e0f4c124a2c68eb43d6ec4e781d1bf810;hp=06e2444175430a1c8c88bbed4115b54c4e4430fb;hpb=6ecc073934b76e5076f917112a24ff7094857730;p=dygraphs.git diff --git a/auto_tests/tests/custom_asserts.js b/auto_tests/tests/custom_asserts.js index 06e2444..9391f89 100644 --- a/auto_tests/tests/custom_asserts.js +++ b/auto_tests/tests/custom_asserts.js @@ -2,7 +2,7 @@ * @fileoverview Assertions that chai doesn't provide out of the box. */ -var assertDeepCloseTo = function(actualArray, expectedArray, epsilon) { +export function assertDeepCloseTo(actualArray, expectedArray, epsilon) { assert.isArray(actualArray); assert.isArray(expectedArray); for (var i = 0; i < actualArray.length; i++) {