chore(plugin-theme): Ported to v3
This commit is contained in:
parent
447c16b690
commit
7b3b26da41
11 changed files with 112 additions and 111 deletions
|
@ -1,11 +1,11 @@
|
|||
import chai from 'chai'
|
||||
import freesewing from '@freesewing/core'
|
||||
import plugin from '../dist/index.mjs'
|
||||
import { Pattern } from '@freesewing/core'
|
||||
import { plugin } from '../dist/index.mjs'
|
||||
|
||||
const expect = chai.expect
|
||||
|
||||
describe('Theme Plugin Tests', () => {
|
||||
const pattern = new freesewing.Pattern().use(plugin)
|
||||
const pattern = new Pattern().use(plugin)
|
||||
pattern.apply({ paperless: true })
|
||||
pattern.draft().render()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue