Merge pull request #574 from danvk/test-warnings
[dygraphs.git] / auto_tests / tests / axis_labels-deprecated.js
index 08a5db2..6ca1dc1 100644 (file)
@@ -16,7 +16,8 @@ afterEach(function() {
 it('testDeprecatedDeprecatedXAxisTimeLabelFormatter', function() {
   var opts = {
     width: 480,
-    height: 320
+    height: 320,
+    labels: ['X', 'Y1']
   };
   var data = [[5.0,0],[5.1,1],[5.2,2],[5.3,3],[5.4,4],[5.5,5],[5.6,6],[5.7,7],[5.8,8],[5.9,9]];
   var graph = document.getElementById("graph");