
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
420 B
JavaScript
12 lines
420 B
JavaScript
import { expect } from 'chai'
|
|
import { Design } from '@freesewing/core'
|
|
import { annotationsPlugin } from '../src/index.mjs'
|
|
|
|
describe('Logo Plugin Tests', () => {
|
|
it('Should import style and defs', () => {
|
|
const Pattern = new Design({ noCorePlugins: true })
|
|
const pattern = new Pattern().use(annotationsPlugin)
|
|
pattern.draft().render()
|
|
expect(pattern.svg.defs.get('logo')).to.not.equal(false)
|
|
})
|
|
})
|