1
0
Fork 0

chore(plugin-buttons): Use only imports in tests

This commit is contained in:
Joost De Cock 2021-11-27 13:10:21 +01:00
parent 7f31606f14
commit e793302b6c

View file

@ -1,9 +1,9 @@
import freesewing from '@freesewing/core'
import { version } from '../package.json'
import chai from 'chai'
import plugin from '../dist/index.js'
const chai = require('chai')
const expect = chai.expect
const plugin = require('../dist/index.js')
const pattern = new freesewing.Pattern().use(plugin)
pattern.draft().render()