From dbe658e2bb7ead9080ac9dc6634f0310bb0ca25e Mon Sep 17 00:00:00 2001 From: eliza Date: Tue, 18 Jun 2024 16:59:31 -0700 Subject: [PATCH] slotted overrides, default, and deprecated blocks --- .../src/components/shell/shell.e2e.ts | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/packages/calcite-components/src/components/shell/shell.e2e.ts b/packages/calcite-components/src/components/shell/shell.e2e.ts index d24eeb662b4..f6e486d7923 100644 --- a/packages/calcite-components/src/components/shell/shell.e2e.ts +++ b/packages/calcite-components/src/components/shell/shell.e2e.ts @@ -144,7 +144,7 @@ describe("theme", () => { `; - describe("default", () => { + describe("slotted overrides", () => { const tokens: ComponentTestTokens = { "--calcite-shell-border-color": [ { @@ -168,15 +168,26 @@ describe("theme", () => { targetProp: "borderColor", }, ], + }; + themed(async () => shellHTML, tokens); + }); + + describe("default", () => { + const tokens: ComponentTestTokens = { "--calcite-shell-background-color": { targetProp: "backgroundColor", }, + }; + themed(async () => shellHTML, tokens); + }); + + describe("deprecated", () => { + const tokens: ComponentTestTokens = { "--calcite-shell-tip-spacing": { selector: `calcite-tip-manager`, targetProp: "insetInline", }, }; - themed(async () => shellHTML, tokens); }); });