Skip to content

Commit

Permalink
issue #458: cleaning up the obsolete content
Browse files Browse the repository at this point in the history
  • Loading branch information
gullerya committed Nov 22, 2020
1 parent cee0f15 commit 50ad463
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions common/foundation/test/connotation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ async function assertConnotationAttribute({

element.setAttribute('connotation', connotation);
await waitNextTask();
await waitNextTask();
assertChildrenAffected(connotation, element, childrenAffected, stylesAffected);
}

Expand All @@ -30,7 +29,6 @@ async function assertConnotationProperty({

element.connotation = connotation;
await waitNextTask();
await waitNextTask();
assertChildrenAffected(connotation, element, childrenAffected, stylesAffected);
}

Expand Down
2 changes: 0 additions & 2 deletions test/test-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down Expand Up @@ -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}'`);
}
}
Expand Down

0 comments on commit 50ad463

Please sign in to comment.