diff --git a/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/ExtensionListEntry.test.tsx b/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/ExtensionListEntry.test.tsx index 23b0ac89da..807c4286e0 100644 --- a/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/ExtensionListEntry.test.tsx +++ b/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/ExtensionListEntry.test.tsx @@ -26,7 +26,9 @@ describe("ExtensionListEntry Component", () => { const mockOnClick = jest.fn(); it("renders primary text with name and highlights search text", () => { - render(); + render( + , + ); const name = screen.getByText(new RegExp(mockEntry.name, "i")); expect(name).toBeInTheDocument(); @@ -37,19 +39,21 @@ describe("ExtensionListEntry Component", () => { }); it("renders secondary text with description and publisher", () => { - render(); - + render( + , + ); const description = screen.getByText(new RegExp(mockEntry.description, "i")); expect(description).toBeInTheDocument(); - const publisher = screen.getByText(new RegExp(mockEntry.publisher, "i")); expect(publisher).toBeInTheDocument(); }); it("displays version next to name", () => { - render(); + render( + , + ); // Check for version const version = screen.getByText(new RegExp(mockEntry.version, "i")); diff --git a/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/__snapshots__/ExtensionListEntry.test.tsx.snap b/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/__snapshots__/ExtensionListEntry.test.tsx.snap deleted file mode 100644 index f69da702b5..0000000000 --- a/packages/suite-base/src/components/ExtensionsSettings/components/ExtensionListEntry/__snapshots__/ExtensionListEntry.test.tsx.snap +++ /dev/null @@ -1,51 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ExtensionListEntry Component matches the snapshot 1`] = ` - -
  • -
    -
    -
    -
    - wtRZDv -
    - - ahQlck - -
    -
    -

    - CFYPtL -

    -

    - sWzoRy -

    -
    -
    - -
    -
  • -
    -`;