We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fab9b2d commit 76f5ad0Copy full SHA for 76f5ad0
test/jasmine/tests/drawing_test.js
@@ -46,7 +46,7 @@ describe('Drawing', function() {
46
// grab window URL
47
var href = window.location.href;
48
49
- Drawing.setClipUrl(this.g, 'id3', {_context: {baseUrl: href}});
+ Drawing.setClipUrl(this.g, 'id3', {_context: {_baseUrl: href}});
50
51
expect(this.g.attr('clip-path'))
52
.toEqual('url(' + href + '#id3)');
@@ -63,7 +63,7 @@ describe('Drawing', function() {
63
64
var href2 = href.split('#')[0];
65
66
- Drawing.setClipUrl(this.g, 'id4', {_context: {baseUrl: href2}});
+ Drawing.setClipUrl(this.g, 'id4', {_context: {_baseUrl: href2}});
67
68
var expected = 'url(' + href2 + '#id4)';
69
0 commit comments