1
0
Fork 0

chore(plugin-theme): Ported to v3

This commit is contained in:
Joost De Cock 2022-08-28 14:03:14 +02:00
parent 447c16b690
commit 7b3b26da41
11 changed files with 112 additions and 111 deletions

View file

@ -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()