diff --git a/test/unit/group.js b/test/unit/group.js index 88aa19625f9..dd5b07865e9 100644 --- a/test/unit/group.js +++ b/test/unit/group.js @@ -424,6 +424,7 @@ var group = makeGroupWith2ObjectsWithOpacity(); var groupObject = group.toObject(); + groupObject.subTargetCheck = true; fabric.Group.fromObject(groupObject).then(function(newGroupFromObject) { assert.ok(newGroupFromObject._objects[0].lineCoords.tl, 'acoords 0 are restored');