diff options
author | Matthew Shao <me@matshao.com> | 2017-08-15 22:23:21 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-08-16 09:42:24 +0800 |
commit | 3f497640ab0a69838fb605ed9a4b1cee76e462aa (patch) | |
tree | 7efd2fa1b4351033ee2054e04daa2abdf745f9fa /web/src/js/__tests__/components | |
parent | 6560b0dcdba72085ce6c53d68a9e01d293936893 (diff) | |
download | mitmproxy-3f497640ab0a69838fb605ed9a4b1cee76e462aa.tar.gz mitmproxy-3f497640ab0a69838fb605ed9a4b1cee76e462aa.tar.bz2 mitmproxy-3f497640ab0a69838fb605ed9a4b1cee76e462aa.zip |
[web] Update tests.
Diffstat (limited to 'web/src/js/__tests__/components')
6 files changed, 7 insertions, 7 deletions
diff --git a/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewOptionsSpec.js.snap b/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewOptionsSpec.js.snap index e3561ec1..01fab0a7 100644 --- a/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewOptionsSpec.js.snap +++ b/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewOptionsSpec.js.snap @@ -13,7 +13,7 @@ exports[`ContentViewOptions Component should render correctly 1`] = ` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" title="Download the content of the flow." > <i diff --git a/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewSpec.js.snap b/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewSpec.js.snap index a4bc06c5..659eb6c3 100644 --- a/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewSpec.js.snap +++ b/web/src/js/__tests__/components/ContentView/__snapshots__/ContentViewSpec.js.snap @@ -17,7 +17,7 @@ exports[`ViewImage Component should render correctly 1`] = ` <img alt="preview" className="img-thumbnail" - src="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + src="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" /> </div> `; diff --git a/web/src/js/__tests__/components/ContentView/__snapshots__/DownloadContentButtonSpec.js.snap b/web/src/js/__tests__/components/ContentView/__snapshots__/DownloadContentButtonSpec.js.snap index 66900ca4..4c578a0c 100644 --- a/web/src/js/__tests__/components/ContentView/__snapshots__/DownloadContentButtonSpec.js.snap +++ b/web/src/js/__tests__/components/ContentView/__snapshots__/DownloadContentButtonSpec.js.snap @@ -3,7 +3,7 @@ exports[`DownloadContentButton Component should render correctly 1`] = ` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" title="Download the content of the flow." > <i diff --git a/web/src/js/__tests__/components/ContentView/__snapshots__/MetaViewsSpec.js.snap b/web/src/js/__tests__/components/ContentView/__snapshots__/MetaViewsSpec.js.snap index 18ec5bba..1fdd5575 100644 --- a/web/src/js/__tests__/components/ContentView/__snapshots__/MetaViewsSpec.js.snap +++ b/web/src/js/__tests__/components/ContentView/__snapshots__/MetaViewsSpec.js.snap @@ -54,7 +54,7 @@ exports[`ContentTooLarge Components should render correctly 1`] = ` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" title="Download the content of the flow." > <i diff --git a/web/src/js/__tests__/components/FlowView/__snapshots__/MessagesSpec.js.snap b/web/src/js/__tests__/components/FlowView/__snapshots__/MessagesSpec.js.snap index c8290e45..c55d0750 100644 --- a/web/src/js/__tests__/components/FlowView/__snapshots__/MessagesSpec.js.snap +++ b/web/src/js/__tests__/components/FlowView/__snapshots__/MessagesSpec.js.snap @@ -265,7 +265,7 @@ exports[`Request Component should render correctly 1`] = ` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/request/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/request/_content" title="Download the content of the flow." > <i @@ -528,7 +528,7 @@ exports[`Response Component should render correctly 1`] = ` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" title="Download the content of the flow." > <i diff --git a/web/src/js/__tests__/components/__snapshots__/ContentViewSpec.js.snap b/web/src/js/__tests__/components/__snapshots__/ContentViewSpec.js.snap index 60b816e2..fcbab629 100644 --- a/web/src/js/__tests__/components/__snapshots__/ContentViewSpec.js.snap +++ b/web/src/js/__tests__/components/__snapshots__/ContentViewSpec.js.snap @@ -49,7 +49,7 @@ exports[`ContentView Component should render correctly with content too large 1` <a className="btn btn-default btn-xs" - href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/content" + href="/flows/d91165be-ca1f-4612-88a9-c0f8696f3e29/response/_content" title="Download the content of the flow." > <i |