diff options
author | Sébastien Determe <sebastien.determe@intl.att.com> | 2019-10-21 09:31:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-10-21 09:31:13 +0000 |
commit | d0f1475f3d0dcec0f0e7bd0b6d08eedd0ded3f19 (patch) | |
tree | 273ee3f9c2109490d9f8c52a4dbb82ef5a686cb1 /ui-react/src/components/loop_viewer/svg/__snapshots__ | |
parent | 593881945f84adf8ffde810684e25f4aae229718 (diff) | |
parent | cb54edb9a9e90bf4f24d5ba4ef73a43adbbc2169 (diff) |
Merge "Add ui tests"
Diffstat (limited to 'ui-react/src/components/loop_viewer/svg/__snapshots__')
-rw-r--r-- | ui-react/src/components/loop_viewer/svg/__snapshots__/LoopSvg.test.js.snap | 33 |
1 files changed, 30 insertions, 3 deletions
diff --git a/ui-react/src/components/loop_viewer/svg/__snapshots__/LoopSvg.test.js.snap b/ui-react/src/components/loop_viewer/svg/__snapshots__/LoopSvg.test.js.snap index 23d22256..cecfb425 100644 --- a/ui-react/src/components/loop_viewer/svg/__snapshots__/LoopSvg.test.js.snap +++ b/ui-react/src/components/loop_viewer/svg/__snapshots__/LoopSvg.test.js.snap @@ -1,7 +1,34 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Verify LoopSvg Test the render method 1`] = ` -<ContextConsumer> - <Component /> -</ContextConsumer> +<styled.div + dangerouslySetInnerHTML={ + Object { + "__html": "<svg><text x=\\"20\\" y=\\"40\\">No LOOP (SVG)</text></svg>", + } + } + onClick={[Function]} +/> +`; + +exports[`Verify LoopSvg Test the render method no loopName 1`] = ` +<styled.div + dangerouslySetInnerHTML={ + Object { + "__html": "<svg><text x=\\"20\\" y=\\"40\\">No LOOP (SVG)</text></svg>", + } + } + onClick={[Function]} +/> +`; + +exports[`Verify LoopSvg Test the render method svg not empty 1`] = ` +<styled.div + dangerouslySetInnerHTML={ + Object { + "__html": "<svg><text test</text></svg>", + } + } + onClick={[Function]} +/> `; |