diff --git a/src/common/components/beneficiary-editor/__snapshots__/index.spec.tsx.snap b/src/common/components/beneficiary-editor/__snapshots__/index.spec.tsx.snap index 213b642d00f..23c5d3e3347 100644 --- a/src/common/components/beneficiary-editor/__snapshots__/index.spec.tsx.snap +++ b/src/common/components/beneficiary-editor/__snapshots__/index.spec.tsx.snap @@ -55,264 +55,55 @@ exports[`(2) Default render with author 1`] = ` `; exports[`(3) DialogBody 1`] = ` -
-
- - - - - - - - - - - - - - - - - - - -
- Username - - Reward - -
-
-
- - @ - -
- -
-
-
- -
- - % - -
-
-
- -
- @foo - - 10% - - -
-
-
+ + + + `; exports[`(4) DialogBody with author 1`] = ` -
-
- - - - - - - - - - - - - - - - - - - - - - - -
- Username - - Reward - -
- @bar - - 90% - -
-
-
- - @ - -
- -
-
-
- -
- - % - -
-
-
- -
- @foo - - 10% - - -
-
-
+ + + + `; diff --git a/src/common/components/beneficiary-editor/index.spec.tsx b/src/common/components/beneficiary-editor/index.spec.tsx index e6615b98bd0..dd4adb76577 100644 --- a/src/common/components/beneficiary-editor/index.spec.tsx +++ b/src/common/components/beneficiary-editor/index.spec.tsx @@ -1,6 +1,6 @@ import React from "react"; -import BeneficiaryEditorDialog, { DialogBody } from "./index"; +import { BeneficiaryEditorDialog } from "./index"; import TestRenderer from "react-test-renderer"; @@ -31,7 +31,7 @@ it("(2) Default render with author", () => { }); it("(3) DialogBody", () => { - const renderer = TestRenderer.create(); + const renderer = TestRenderer.create(); expect(renderer.toJSON()).toMatchSnapshot(); }); @@ -40,6 +40,6 @@ it("(4) DialogBody with author", () => { ...defProps, author: "bar" }; - const renderer = TestRenderer.create(); + const renderer = TestRenderer.create(); expect(renderer.toJSON()).toMatchSnapshot(); });