Skip to content

Commit a1e7715

Browse files
committed
chore: format
1 parent 6a8e822 commit a1e7715

4 files changed

Lines changed: 17 additions & 7 deletions

File tree

tests/_internal.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { assertEquals, assertNotEquals } from "@std/assert";
2-
import { type CssValue, camelToKebab, djb2, hashObject } from "../_internal.ts";
2+
import { camelToKebab, type CssValue, djb2, hashObject } from "../_internal.ts";
33

44
// =============================================================================
55
// djb2 tests

tests/atrules.test.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,13 @@ Deno.test("FontFaceProperties - accepts font-face descriptors", () => {
425425
});
426426

427427
Deno.test("PagePseudo - accepts page pseudo-classes", () => {
428-
const pseudos: PagePseudo[] = [":first", ":last", ":left", ":right", ":blank"];
428+
const pseudos: PagePseudo[] = [
429+
":first",
430+
":last",
431+
":left",
432+
":right",
433+
":blank",
434+
];
429435
assertEquals(pseudos.length, 5);
430436
});
431437

tests/style.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77
type RenderOptions,
88
type SelectorInput,
99
STANDARD_RENDER_OPTIONS,
10-
style,
1110
type Style,
11+
style,
1212
type StyleInput,
1313
use,
1414
} from "../style.ts";

tests/variables.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { assertEquals, assertNotEquals } from "@std/assert";
22
import {
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

4345
Deno.test("walkShape - handles deeply nested shapes", () => {
@@ -217,7 +219,9 @@ Deno.test("vars - renders correct CSS", () => {
217219

218220
Deno.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

Comments
 (0)