aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/spec/elements/Element.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec/elements/Element.js b/spec/spec/elements/Element.js
index 38b862f..70c3a52 100644
--- a/spec/spec/elements/Element.js
+++ b/spec/spec/elements/Element.js
@@ -165,6 +165,7 @@ describe('Element.js', function () {
describe('parents()', () => {
it('returns array of parents until the passed element or root svg', () => {
const canvas = SVG().addTo(container)
+ const groupA = canvas.group().addClass('test')
const group1 = canvas.group().addClass('test')
const group2 = group1.group()
const group3 = group2.group()