* @author sergeyslepian@gmail.com
*/
-describe("visibility", function() {
+import Dygraph from '../../src/dygraph';
+import Util from './Util';
-beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
-});
+describe("visibility", function() {
-afterEach(function() {
-});
+cleanupAfterEach();
/**
* Does a bunch of the shared busywork of setting up a graph and changing its visibility.
assert.equal(' B D', getVisibleSeries(false, [{1:true, 2:false, 3:true}, null]));
});
+it('testBooleanArraySeriesShowAndHide', function() {
+ assert.equal(' B D', getVisibleSeries(false, [[false, true, false, true], null]));
+});
+
});