Skip to content

Commit 030e4ad

Browse files
committed
chore: null check
1 parent 80e28cf commit 030e4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/automated/src/ui/styling/style-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1975,7 +1975,7 @@ export function test_css_variable_that_resolves_to_another_css_variable_order_de
19751975
stack.className = 'var';
19761976
page.content = stack;
19771977

1978-
TKUnit.assertEqual(stack.style.backgroundColor.hex, greenColor, 'Failed to resolve css variable of css variable');
1978+
TKUnit.assertEqual(stack.style.backgroundColor?.hex, greenColor, 'Failed to resolve css variable of css variable');
19791979
}
19801980

19811981
export function test_css_calc_and_variables() {

0 commit comments

Comments
 (0)