Rewrite tests to use ES6 modules.
[dygraphs.git] / auto_tests / tests / smooth_plotter.js
index 41b0f5d..146e426 100644 (file)
@@ -3,8 +3,13 @@
  *
  * @author danvdk@gmail.com (Dan Vanderkam)
  */
+
+import Dygraph from '../../src/dygraph';
+import '../../src/extras/smooth-plotter';  // defines Dygraph.smoothPlotter
+
 describe("smooth-plotter", function() {
 
+var smoothPlotter = Dygraph.smoothPlotter;
 var getControlPoints = smoothPlotter._getControlPoints;
 
 beforeEach(function() {