chore(plugin-buttons): Use only imports in tests
This commit is contained in:
parent
7f31606f14
commit
e793302b6c
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue