diff --git a/common/foundation/test/connotation.test.js b/common/foundation/test/connotation.test.js index 9d2ca2993e..a8e3efec03 100644 --- a/common/foundation/test/connotation.test.js +++ b/common/foundation/test/connotation.test.js @@ -16,7 +16,6 @@ async function assertConnotationAttribute({ element.setAttribute('connotation', connotation); await waitNextTask(); - await waitNextTask(); assertChildrenAffected(connotation, element, childrenAffected, stylesAffected); } @@ -30,7 +29,6 @@ async function assertConnotationProperty({ element.connotation = connotation; await waitNextTask(); - await waitNextTask(); assertChildrenAffected(connotation, element, childrenAffected, stylesAffected); } diff --git a/test/test-helpers.js b/test/test-helpers.js index f9e11a9c5c..1bbd5da6ec 100644 --- a/test/test-helpers.js +++ b/test/test-helpers.js @@ -141,7 +141,6 @@ export function assertComputedStyle(element, expectedStyles, pseudoSelector = nu expectedValue = expectedStyles[styleKey].replaceAll(/\s/g, ''); break; - // typography transformers case 'fontFamily': expectedValue = String(expectedStyles[styleKey]); @@ -192,7 +191,6 @@ export function assertComputedStyle(element, expectedStyles, pseudoSelector = nu actualValue = computedStyle[styleKey]; } if (actualValue !== expectedValue) { - console.log(JSON.stringify(computedStyle)); throw new Error(`'${styleKey}' is NOT as expected; expected: '${expectedValue}', found: '${actualValue}'`); } }