diff --git a/tests/designs/config.mjs b/tests/designs/config.mjs index 73ea4c4c9aa..fd85a91fab6 100644 --- a/tests/designs/config.mjs +++ b/tests/designs/config.mjs @@ -159,7 +159,7 @@ export const testPatternConfig = (Pattern) => { it(` - Should have a maximum >= the default value`, () => { 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`, () => { expect("Does not use mm").to.be.true })