Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/calcite-components/src/tests/commonTests/themed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export function themed(componentTestSetup: ComponentTestSetup, tokens: Component
});
}

export type ContextSelectByAttr = { attribute: string; value: string | RegExp };
type ContextSelectByAttr = { attribute: string; value: string | RegExp };

type CSSProp = Extract<keyof CSSStyleDeclaration, string>;

Expand All @@ -183,7 +183,7 @@ type State = "press" | "hover" | "focus";
/**
* Describes a test target for themed components.
*/
export type TestTarget = {
type TestTarget = {
/**
* An object with target element and selector info.
*/
Expand All @@ -207,7 +207,7 @@ export type TestTarget = {
/**
* The expected value of the targetProp.
*/
expectedValue?: string;
expectedValue: string;

/**
* The associated component token.
Expand All @@ -230,7 +230,7 @@ type MappedCalciteCSSCustomProp = CalciteCSSCustomProp;
/**
* Describes a test selector for themed components.
*/
export type TestSelectToken = {
type TestSelectToken = {
/**
* The selector of the target element. When not provided, the component tag is used.
*/
Expand Down