diff options
author | Matthew Shao <me@matshao.com> | 2017-05-22 21:32:08 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-05-22 21:32:08 +0800 |
commit | 8b5160ce5815954ab7188f1743fbe515a6284d59 (patch) | |
tree | 3d583745bccb97d9f1f26cfc6a457ee58a48349e /web/src/js/__tests__/components/FlowTable/__snapshots__ | |
parent | ab564ea5fdfda726a21b3f2d0d75099247a0ce7d (diff) | |
download | mitmproxy-8b5160ce5815954ab7188f1743fbe515a6284d59.tar.gz mitmproxy-8b5160ce5815954ab7188f1743fbe515a6284d59.tar.bz2 mitmproxy-8b5160ce5815954ab7188f1743fbe515a6284d59.zip |
[web] Add tests for js/components/FlowTable/FlowTableHead.js
Diffstat (limited to 'web/src/js/__tests__/components/FlowTable/__snapshots__')
-rw-r--r-- | web/src/js/__tests__/components/FlowTable/__snapshots__/FlowTableHeadSpec.js.snap | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowTableHeadSpec.js.snap b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowTableHeadSpec.js.snap new file mode 100644 index 00000000..3f066c6e --- /dev/null +++ b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowTableHeadSpec.js.snap @@ -0,0 +1,95 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`FlowTableHead Component should connect to state 1`] = ` +<tr> + <th + className="col-tls" + onClick={[Function]} + > + + </th> + <th + className="col-icon" + onClick={[Function]} + > + + </th> + <th + className="col-path sort-desc" + onClick={[Function]} + > + Path + </th> + <th + className="col-method" + onClick={[Function]} + > + Method + </th> + <th + className="col-status" + onClick={[Function]} + > + Status + </th> + <th + className="col-size" + onClick={[Function]} + > + Size + </th> + <th + className="col-time" + onClick={[Function]} + > + Time + </th> +</tr> +`; + +exports[`FlowTableHead Component should render correctly 1`] = ` +<tr> + <th + className="col-tls" + onClick={[Function]} + > + + </th> + <th + className="col-icon" + onClick={[Function]} + > + + </th> + <th + className="col-path" + onClick={[Function]} + > + Path + </th> + <th + className="col-method" + onClick={[Function]} + > + Method + </th> + <th + className="col-status" + onClick={[Function]} + > + Status + </th> + <th + className="col-size" + onClick={[Function]} + > + Size + </th> + <th + className="col-time" + onClick={[Function]} + > + Time + </th> +</tr> +`; |