fix failing plugin tests
This commit is contained in:
parent
1200bea79c
commit
ab1f404eab
4 changed files with 43 additions and 42 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue