Test fixes
This commit is contained in:
parent
9ed72e9f45
commit
0213c92b0f
3 changed files with 4 additions and 4 deletions
|
@ -11,7 +11,7 @@ pattern.draft().render()
|
|||
describe('Buttons Plugin Test', () => {
|
||||
for (const snippet of ['button', 'buttonhole', 'snap-stud', 'snap-socket']) {
|
||||
it(`Should add the ${snippet} snippet to defs`, () => {
|
||||
expect(pattern.svg.defs.indexOf(`<g id="${snippet}">`)).to.not.equal(-1)
|
||||
expect(pattern.svg.defs.render().indexOf(`<g id="${snippet}">`)).to.not.equal(-1)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue