fix web tests

This commit is contained in:
Maximilian Hils 2022-08-28 01:36:45 +02:00
parent 928094c916
commit 0ce20c55a2
2 changed files with 42 additions and 91 deletions

View File

@ -0,0 +1,42 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`CaptureSetup 1`] = `
<DocumentFragment>
<div
style="padding: 1em 2em;"
>
<h3>
mitmproxy is running.
</h3>
<p>
No flows have been recorded yet.
<br />
Configure your client to use one of the following proxy servers:
</p>
<ul
class="fa-ul"
>
<li>
<i
class="fa fa-li fa-check text-success"
/>
HTTP(S) proxy listening at 127.0.0.1:8080 and [::1]:8080.
</li>
<li>
<i
class="fa fa-li fa-exclamation text-error"
/>
Reverse proxy to example.com (reverse:example.com):
<br />
I failed somehow.
</li>
<li>
<i
class="fa fa-li fa-pause text-warning"
/>
SOCKS v5 proxy (socks5)
</li>
</ul>
</div>
</DocumentFragment>
`;

View File

@ -61,97 +61,6 @@ exports[`ViewSelector 2`] = `
raw
</a>
</li>
<li>
<a
href="#"
>
hex
</a>
</li>
<li>
<a
href="#"
>
graphql
</a>
</li>
<li>
<a
href="#"
>
json
</a>
</li>
<li>
<a
href="#"
>
xml/html
</a>
</li>
<li>
<a
href="#"
>
wbxml
</a>
</li>
<li>
<a
href="#"
>
javascript
</a>
</li>
<li>
<a
href="#"
>
css
</a>
</li>
<li>
<a
href="#"
>
url-encoded
</a>
</li>
<li>
<a
href="#"
>
multipart form
</a>
</li>
<li>
<a
href="#"
>
image
</a>
</li>
<li>
<a
href="#"
>
protocol buffer
</a>
</li>
<li>
<a
href="#"
>
msgpack
</a>
</li>
<li>
<a
href="#"
>
grpc/protocol buffer
</a>
</li>
</ul>
</DocumentFragment>
`;