Test fixes
This commit is contained in:
parent
9ed72e9f45
commit
0213c92b0f
3 changed files with 4 additions and 4 deletions
|
@ -17,11 +17,11 @@ pattern.draft().render()
|
|||
|
||||
describe('Notches Plugin Test', () => {
|
||||
it(`Should add the snippets to defs`, () => {
|
||||
expect(pattern.svg.defs).to.contain('<g id="notch">')
|
||||
expect(pattern.svg.defs.render()).to.contain('<g id="notch">')
|
||||
})
|
||||
|
||||
it(`Should add the notches snippet to defs`, () => {
|
||||
expect(pattern.svg.defs.indexOf(`<g id="notch">`)).to.not.equal(-1)
|
||||
expect(pattern.svg.defs.render().indexOf(`<g id="notch">`)).to.not.equal(-1)
|
||||
})
|
||||
|
||||
it('Draws a notch on an anchor point', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue