@@ -2,14 +2,14 @@ import { assertEquals, assertNotEquals } from "@std/assert";
22import {
33 buildProperties ,
44 buildVarShape ,
5- contract ,
65 type Contract ,
6+ contract ,
77 isContract ,
88 type MapShape ,
99 type Shape ,
1010 type VariableKey ,
11- type VariableValue ,
1211 type Variables ,
12+ type VariableValue ,
1313 vars ,
1414 type VarsValues ,
1515 walkShape ,
@@ -37,7 +37,9 @@ Deno.test("walkShape - handles nested shapes", () => {
3737 ( v ) : v is null => v === null ,
3838 ( _ , path ) => path . join ( "-" ) ,
3939 ) ;
40- assertEquals ( result , { colors : { primary : "colors-primary" , secondary : "colors-secondary" } } ) ;
40+ assertEquals ( result , {
41+ colors : { primary : "colors-primary" , secondary : "colors-secondary" } ,
42+ } ) ;
4143} ) ;
4244
4345Deno . test ( "walkShape - handles deeply nested shapes" , ( ) => {
@@ -217,7 +219,9 @@ Deno.test("vars - renders correct CSS", () => {
217219
218220Deno . test ( "vars - handles nested contracts" , ( ) => {
219221 const theme = contract ( { colors : { primary : null , secondary : null } } ) ;
220- const light = vars ( theme , { colors : { primary : "blue" , secondary : "green" } } ) ;
222+ const light = vars ( theme , {
223+ colors : { primary : "blue" , secondary : "green" } ,
224+ } ) ;
221225 const css = render ( STANDARD_RENDER_OPTIONS , light ) ;
222226 assertEquals ( css . includes ( "blue" ) , true ) ;
223227 assertEquals ( css . includes ( "green" ) , true ) ;
0 commit comments