1
0
Fork 0

fix(tests): Small bug in design config tests

This commit is contained in:
Joost De Cock 2022-09-01 19:32:12 +02:00
parent 1dd4d5c6b4
commit e8b8e1d7be

View file

@ -159,7 +159,7 @@ export const testPatternConfig = (Pattern) => {
it(` - Should have a maximum >= the default value`, () => { it(` - Should have a maximum >= the default value`, () => {
expect(option.max >= option.mm).to.be.true expect(option.max >= option.mm).to.be.true
}) })
if (deprecated.indexOf(design) === -1 && option.testIgnore !== true) { if (deprecated.indexOf(name) === -1 && option.testIgnore !== true) {
it(` - Patterns should not use mm options`, () => { it(` - Patterns should not use mm options`, () => {
expect("Does not use mm").to.be.true expect("Does not use mm").to.be.true
}) })