aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/components
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2018-10-21 14:48:58 +0200
committerGitHub <noreply@github.com>2018-10-21 14:48:58 +0200
commite8d76d050d89820c08fac2c33a97ed3ae3fc8f26 (patch)
treeecfa495b2eb3b2bf8e1e6728887482cc03276507 /web/src/js/__tests__/components
parent0d320e778dc659acc848f78c5f8d68c3293d4063 (diff)
parenta6ba88ae64f1547ddc8f20bb244030f7ee39bff9 (diff)
downloadmitmproxy-e8d76d050d89820c08fac2c33a97ed3ae3fc8f26.tar.gz
mitmproxy-e8d76d050d89820c08fac2c33a97ed3ae3fc8f26.tar.bz2
mitmproxy-e8d76d050d89820c08fac2c33a97ed3ae3fc8f26.zip
Merge pull request #3351 from arun-94/master
#3312 Change colors according to the HTTP status code
Diffstat (limited to 'web/src/js/__tests__/components')
-rw-r--r--web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.js.snap5
-rw-r--r--web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap5
2 files changed, 10 insertions, 0 deletions
diff --git a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.js.snap b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.js.snap
index d6946507..98ba8a10 100644
--- a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.js.snap
+++ b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowColumnsSpec.js.snap
@@ -109,6 +109,11 @@ exports[`FlowColumns Components should render SizeColumn 1`] = `
exports[`FlowColumns Components should render StatusColumn 1`] = `
<td
className="col-status"
+ style={
+ Object {
+ "color": "darkred",
+ }
+ }
/>
`;
diff --git a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap
index b065b746..786488a0 100644
--- a/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap
+++ b/web/src/js/__tests__/components/FlowTable/__snapshots__/FlowRowSpec.js.snap
@@ -30,6 +30,11 @@ exports[`FlowRow Component should render correctly 1`] = `
</td>
<td
className="col-status"
+ style={
+ Object {
+ "color": "darkgreen",
+ }
+ }
>
200
</td>