Skip to content

Commit

Permalink
add example to func tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bjnortier committed Oct 30, 2019
1 parent 7b6920f commit f04c1e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/functional/toPolylines.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ const names = [
'issue29',
'issue39',
'issue42',
'splineA'
'splineA',
'elliptical-arc2'
]
const dxfs = names.map(name => require(`../resources/${name}.dxf`))
const svgs = dxfs.map(contents => toSVG(new Helper(contents).toPolylines()))
Expand Down
3 changes: 2 additions & 1 deletion test/functional/toSVG.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ const names = [
'issue29',
'issue39',
'issue42',
'splineA'
'splineA',
'elliptical-arc2'
]
const dxfs = names.map(name => require(`../resources/${name}.dxf`))
const svgs = dxfs.map(contents => new Helper(contents).toSVG())
Expand Down

0 comments on commit f04c1e9

Please sign in to comment.