diff --git a/packages/core/src/components/EditableHeading/__tests__/EditableHeading-interactions.tsx b/packages/core/src/components/EditableHeading/__tests__/EditableHeading-interactions.tsx index 492f7353d0..9fd427bcfb 100644 --- a/packages/core/src/components/EditableHeading/__tests__/EditableHeading-interactions.tsx +++ b/packages/core/src/components/EditableHeading/__tests__/EditableHeading-interactions.tsx @@ -85,6 +85,6 @@ async function cancelEditing(canvas: Canvas) { expect(heading).toHaveTextContent(text); } -export const overviewPlaySuite = interactionSuite({ +export const overviewPlaySuite: ReturnType = interactionSuite({ tests: [changeModes, editAndChangeToValidText, clearInput, cancelEditing] }); diff --git a/packages/core/src/components/EditableText/__tests__/EditableText-interactions.tsx b/packages/core/src/components/EditableText/__tests__/EditableText-interactions.tsx index 0e39912321..353883f785 100644 --- a/packages/core/src/components/EditableText/__tests__/EditableText-interactions.tsx +++ b/packages/core/src/components/EditableText/__tests__/EditableText-interactions.tsx @@ -84,6 +84,6 @@ async function cancelEditing(canvas: Canvas) { expect(textElement).toHaveTextContent(text); } -export const overviewPlaySuite = interactionSuite({ +export const overviewPlaySuite: ReturnType = interactionSuite({ tests: [changeModes, editAndChangeToValidText, clearInput, cancelEditing] }); diff --git a/packages/core/src/components/Heading/__tests__/Heading.interactions.ts b/packages/core/src/components/Heading/__tests__/Heading.interactions.ts index fca231984c..39c3a1ca6f 100644 --- a/packages/core/src/components/Heading/__tests__/Heading.interactions.ts +++ b/packages/core/src/components/Heading/__tests__/Heading.interactions.ts @@ -9,6 +9,6 @@ async function isTooltipAppearOnHover(canvas: Screen) { await testHoverTooltipTrigger(canvas, getText); } -export const headingOverflowSuite = interactionSuite({ +export const headingOverflowSuite: ReturnType = interactionSuite({ tests: [isTooltipAppearOnHover] }); diff --git a/packages/core/src/components/LegacyEditableHeading/__tests__/LegacyEditableHeading-interactions.tsx b/packages/core/src/components/LegacyEditableHeading/__tests__/LegacyEditableHeading-interactions.tsx index 59c9a399a4..558905367c 100644 --- a/packages/core/src/components/LegacyEditableHeading/__tests__/LegacyEditableHeading-interactions.tsx +++ b/packages/core/src/components/LegacyEditableHeading/__tests__/LegacyEditableHeading-interactions.tsx @@ -36,6 +36,6 @@ async function textSimpleText(canvas: Canvas) { expect(editableHeading).toHaveTextContent(text); } -export const overviewPlaySuite = interactionSuite({ +export const overviewPlaySuite: ReturnType = interactionSuite({ tests: [textSimpleText] }); diff --git a/packages/core/src/components/Text/__tests__/text.interactions.ts b/packages/core/src/components/Text/__tests__/text.interactions.ts index a8ab22b6bf..ebb0ffd05f 100644 --- a/packages/core/src/components/Text/__tests__/text.interactions.ts +++ b/packages/core/src/components/Text/__tests__/text.interactions.ts @@ -10,6 +10,6 @@ async function isTooltipAppearOnHover(canvas: Screen) { await testHoverTooltipTrigger(canvas, getText); } -export const textOverflowSuite = interactionSuite({ +export const textOverflowSuite: ReturnType = interactionSuite({ tests: [isTooltipAppearOnHover] }); diff --git a/packages/core/src/components/ThemeProvider/__tests__/themeProvider.interactions.ts b/packages/core/src/components/ThemeProvider/__tests__/themeProvider.interactions.ts index 59fabbac4a..bf2fcd7c5d 100644 --- a/packages/core/src/components/ThemeProvider/__tests__/themeProvider.interactions.ts +++ b/packages/core/src/components/ThemeProvider/__tests__/themeProvider.interactions.ts @@ -39,6 +39,6 @@ async function checkSystemTheme(canvas: Screen) { expect(colorAfterToggle).toBe(POSITIVE_COLOR); } -export const themeProviderSystemThemeSuite = interactionSuite({ +export const themeProviderSystemThemeSuite: ReturnType = interactionSuite({ tests: [checkSystemTheme] });