Skip to content

Commit

Permalink
slotted overrides, default, and deprecated blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijbet committed Jun 18, 2024
1 parent 9692222 commit dbe658e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions packages/calcite-components/src/components/shell/shell.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ describe("theme", () => {
</calcite-shell>
`;

describe("default", () => {
describe("slotted overrides", () => {
const tokens: ComponentTestTokens = {
"--calcite-shell-border-color": [
{
Expand All @@ -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);
});
});

0 comments on commit dbe658e

Please sign in to comment.