Skip to content

Commit e80602f

Browse files
committed
make sure to remove <base> being test done()
1 parent d4ae5f4 commit e80602f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/jasmine/tests/cartesian_test.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ describe('plot svg clip paths', function() {
8585
var cp = d3.select(this).attr('clip-path');
8686

8787
expect(cp.substring(0, 5)).toEqual('url(#');
88-
expect(cp.substring(cp.length-1)).toEqual(')');
88+
expect(cp.substring(cp.length - 1)).toEqual(')');
8989
});
9090

9191
done();
@@ -111,13 +111,11 @@ describe('plot svg clip paths', function() {
111111
var cp = d3.select(this).attr('clip-path');
112112

113113
expect(cp.substring(0, 5 + href.length)).toEqual('url(' + href + '#');
114-
expect(cp.substring(cp.length-1)).toEqual(')');
114+
expect(cp.substring(cp.length - 1)).toEqual(')');
115115
});
116116

117+
base.remove();
117118
done();
118119
});
119-
120-
base.remove();
121-
122120
});
123121
});

0 commit comments

Comments
 (0)