*
* @author danvk@google.com (Dan Vanderkam)
*/
-describe("rolling-average", function() {
-beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
-});
+import Dygraph from '../../src/dygraph';
-afterEach(function() {
-});
+import Util from './Util';
+
+describe("rolling-average", function() {
+
+cleanupAfterEach();
it('testRollingAverage', function() {
var opts = {
it('testRollShortFractions', function() {
var opts = {
customBars: true,
- labels: ['x', 'A']
+ labels: ['x', 'A', 'B']
};
var data1 = [ [1, 10, [1, 20]] ];
var data2 = [ [1, 10, [1, 20]],