projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rewrite tests to use ES6 modules.
[dygraphs.git]
/
auto_tests
/
tests
/
plugins.js
diff --git
a/auto_tests/tests/plugins.js
b/auto_tests/tests/plugins.js
index
1abccd4
..
f339656
100644
(file)
--- a/
auto_tests/tests/plugins.js
+++ b/
auto_tests/tests/plugins.js
@@
-3,13
+3,17
@@
*
* @author konigsberg@google.com (Robert Konigsberg)
*/
*
* @author konigsberg@google.com (Robert Konigsberg)
*/
+
+import Dygraph from '../../src/dygraph';
+import DygraphOps from './DygraphOps';
+
describe("plugins", function() {
describe("plugins", function() {
+cleanupAfterEach();
+
var data;
beforeEach(function() {
var data;
beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
-
data = "X,Y1,Y2\n" +
"0,1,2\n" +
"1,2,1\n" +
data = "X,Y1,Y2\n" +
"0,1,2\n" +
"1,2,1\n" +
@@
-18,9
+22,6
@@
beforeEach(function() {
;
});
;
});
-afterEach(function() {
-});
-
it('testWillDrawChart', function() {
var draw = 0;
it('testWillDrawChart', function() {
var draw = 0;