Skip to content

Commit e5a2f3c

Browse files
committed
spec(overlay): remove css-variable related expectations
1 parent 1d67027 commit e5a2f3c

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

projects/igniteui-angular/core/src/services/overlay/overlay.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3222,9 +3222,6 @@ describe('igxOverlay', () => {
32223222

32233223
expect(wrapperElement).toBeDefined();
32243224
const styles = css(wrapperElement);
3225-
expect(styles.findIndex(
3226-
(e) => e.includes('--background-color: var(--ig-overlay-background-color, hsl(from var(--ig-gray-500) h s l/0.54));')))
3227-
.toBeGreaterThan(-1);
32283225
expect(styles.findIndex(
32293226
(e) => e.includes('background: var(--background-color);')))
32303227
.toBeGreaterThan(-1);
@@ -3249,7 +3246,6 @@ describe('igxOverlay', () => {
32493246
.parentElement.getElementsByClassName(CLASS_OVERLAY_WRAPPER_MODAL)[0] as HTMLElement;
32503247
expect(wrapperElement).toBeDefined();
32513248
const styles = css(wrapperElement);
3252-
expect(styles.findIndex((e) => e.includes('--background-color: var(--ig-overlay-background-color, hsl(from var(--ig-gray-500) h s l/0.54));'))).toBeGreaterThan(-1);
32533249
expect(styles.findIndex((e) => e.includes('background: var(--background-color);'))).toBeGreaterThan(-1);
32543250

32553251
fixture.componentInstance.overlay.detachAll();

0 commit comments

Comments
 (0)