projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump to version 2 🎉
[dygraphs.git]
/
auto_tests
/
tests
/
connect_separated_points.js
diff --git
a/auto_tests/tests/connect_separated_points.js
b/auto_tests/tests/connect_separated_points.js
index
2636b41
..
7b9fe4c
100644
(file)
--- a/
auto_tests/tests/connect_separated_points.js
+++ b/
auto_tests/tests/connect_separated_points.js
@@
-3,17
+3,20
@@
*
* @author julian.eichstaedt@ch.sauter-bc.com (Fr. Sauter AG)
*/
*
* @author julian.eichstaedt@ch.sauter-bc.com (Fr. Sauter AG)
*/
+
+import Dygraph from '../../src/dygraph';
+import * as utils from '../../src/dygraph-utils';
+import CanvasAssertions from './CanvasAssertions';
+import Proxy from './Proxy';
+
describe("connect-separated-points", function() {
describe("connect-separated-points", function() {
-beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
-});
+cleanupAfterEach();
-var origFunc =
Dygraph
.getContext;
+var origFunc =
utils
.getContext;
beforeEach(function() {
beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
- Dygraph.getContext = function(canvas) {
+ utils.getContext = function(canvas) {
return new Proxy(origFunc(canvas));
};
});
return new Proxy(origFunc(canvas));
};
});