Rewrite tests to use ES6 modules.
[dygraphs.git] / auto_tests / tests / custom_asserts.js
index 06e2444..9391f89 100644 (file)
@@ -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++) {