diff options
author | Matthew Shao <me@matshao.com> | 2017-05-22 21:26:27 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-05-22 21:26:27 +0800 |
commit | ab564ea5fdfda726a21b3f2d0d75099247a0ce7d (patch) | |
tree | 0bd01ddb10898cfb3d680990f35974e81915404e /web/src/js/__tests__/components/FlowTable/__snapshots__ | |
parent | 2222f0b65a3fbc2012c9c76fa532d2ccaa565575 (diff) | |
download | mitmproxy-ab564ea5fdfda726a21b3f2d0d75099247a0ce7d.tar.gz mitmproxy-ab564ea5fdfda726a21b3f2d0d75099247a0ce7d.tar.bz2 mitmproxy-ab564ea5fdfda726a21b3f2d0d75099247a0ce7d.zip |
[web] Add tests for js/components/FlowTable/FlowRow.js
Diffstat (limited to 'web/src/js/__tests__/components/FlowTable/__snapshots__')
-rw-r--r-- | web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap new file mode 100644 index 00000000..b065b746 --- /dev/null +++ b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap @@ -0,0 +1,47 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FlowRow Component should render correctly 1`] = ` +<tr + className="has-request has-response" + onClick={[Function]} +> + <td + className="col-tls col-tls-http" + /> + <td + className="col-icon" + > + <div + className="resource-icon resource-icon-plain" + /> + </td> + <td + className="col-path" + > + <i + className="fa fa-fw fa-exclamation pull-right" + /> + http://address:22/path + </td> + <td + className="col-method" + > + GET + </td> + <td + className="col-status" + > + 200 + </td> + <td + className="col-size" + > + 14b + </td> + <td + className="col-time" + > + 415381h + </td> +</tr> +`; |