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
/
formats.js
diff --git
a/auto_tests/tests/formats.js
b/auto_tests/tests/formats.js
index
a0b779b
..
f16cc6d
100644
(file)
--- a/
auto_tests/tests/formats.js
+++ b/
auto_tests/tests/formats.js
@@
-3,14
+3,12
@@
*
* @author konigsberg@google.com (Robert Konigsberg)
*/
*
* @author konigsberg@google.com (Robert Konigsberg)
*/
-describe("formats", function() {
-beforeEach(function() {
- document.body.innerHTML = "<div id='graph'></div>";
-});
+import Dygraph from '../../src/dygraph';
-afterEach(function() {
-});
+describe("formats", function() {
+
+cleanupAfterEach();
var dataString =
"X,Y\n" +
var dataString =
"X,Y\n" +