1
0
Fork 0

fix failing plugin tests

This commit is contained in:
Enoch Riese 2023-03-19 20:12:17 -05:00
parent 1200bea79c
commit ab1f404eab
4 changed files with 43 additions and 42 deletions

View file

@ -21,7 +21,7 @@ describe('Bust plugin Tests', () => {
it('Should copy measurement from chest to bust and from highBust to chest', function () {
const testPattern = new Design({
measurements: {},
measurements: [],
})
const pattern = new testPattern().use(plugin)
const userMeasurements = { chest: 50, highBust: 60 }
@ -32,7 +32,7 @@ describe('Bust plugin Tests', () => {
})
it('Should not overwrite existing bust measurements', function () {
let config = { measurements: {} }
let config = { measurements: [] }
const testPattern = new Design(config, plugin)
let pattern = new testPattern()
let userMeasurements = { chest: 50, highBust: 60, bust: 55 }