Fixing failing tests
This commit is contained in:
1 parent
bf97c596c9
commit
9d69be4c61
2 files changed
+7
-5
No files matched your search
@@ -99,7 +99,7 @@ describe('parser/javascript/charset.js', function() {
|
||||
this.node.elements[1].render.and.returnValue(this.elementDeferred[1].promise);
|
||||
this.node.elements[2].render.and.returnValue(this.elementDeferred[2].promise);
|
||||
|
||||
this.node.container = Snap(document.createElement('svg'));
|
||||
this.node.container = Snap(document.createElement('svg')).group();
|
||||
this.partContainer = this.node.container.group();
|
||||
spyOn(this.node.container, 'group').and.returnValue(this.partContainer);
|
||||
spyOn(this.partContainer, 'group').and.callFake(function() {
|
||||
|
||||
Reference in new issue
Block a user