1
0
Fork 0

chore: Fixed plugin tests

This commit is contained in:
Joost De Cock 2022-09-07 10:57:47 +02:00
parent aef907bea5
commit 8a5141584c
14 changed files with 122 additions and 114 deletions

View file

@ -1,10 +1,11 @@
import chai from 'chai'
import { Pattern } from '@freesewing/core'
import { Design } from '@freesewing/core'
import { plugin } from '../dist/index.mjs'
const expect = chai.expect
describe('Theme Plugin Tests', () => {
const Pattern = new Design()
const pattern = new Pattern().use(plugin)
pattern.apply({ paperless: true })
pattern.draft().render()