
Note that the tests for Lumina are failing, but that's not related to the chai upgrade, rather it seems these tests fail because of issues in the design that we'll tackle later (it's a brand new design yet to be released).
12 lines
405 B
JavaScript
12 lines
405 B
JavaScript
import { expect } from 'chai'
|
|
import { Design } from '@freesewing/core'
|
|
import { plugin } from '../src/index.mjs'
|
|
|
|
describe('Versionfree Plugin Tests', () => {
|
|
const Pattern = new Design()
|
|
const pattern = new Pattern().use(plugin)
|
|
pattern.draft().render()
|
|
it('Should remove version numbers from SVG attributes', () => {
|
|
expect(pattern.svg.attributes.get('freesewing')).to.equal(false)
|
|
})
|
|
})
|