aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-10 15:50:36 +1000
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>2020-04-10 15:50:36 +1000
commit707098f081c5821af6173508a966a158d84bc741 (patch)
treeb65cab5d13a52658ceac40179105329eee87957c /spec
parent87a94412aaeb1a54005c7f793af7b20113ad0637 (diff)
downloadsvg.js-707098f081c5821af6173508a966a158d84bc741.tar.gz
svg.js-707098f081c5821af6173508a966a158d84bc741.zip
remove targets from Path because its in TextPath already
Diffstat (limited to 'spec')
-rw-r--r--spec/spec/elements/Path.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/spec/elements/Path.js b/spec/spec/elements/Path.js
index e388fdb..d43857e 100644
--- a/spec/spec/elements/Path.js
+++ b/spec/spec/elements/Path.js
@@ -132,15 +132,6 @@ describe('Path.js', () => {
})
})
- describe('targets()', () => {
- it('gets all targets of this path', () => {
- const canvas = SVG().addTo(container)
- const path = canvas.path('M0 0 50, 50')
- const textPath = canvas.text('Hello World').path(path)
- expect(path.targets()).toEqual([ textPath ])
- })
- })
-
describe('width()', () => {
it('gets the width of the path', () => {
const canvas = SVG().addTo(container)