aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-07-10 20:43:59 +0800
committerMaximilian Hils <git@maximilianhils.com>2017-07-17 13:59:25 +0200
commit0b8b943b0ba0a6d0705c96297b1b9e43a9d56c25 (patch)
tree8faaf4701e29a5b16168bf54966cc59c1f5ce133 /web/src/js
parent73685da78b35fc67a81f43172c4b5d38b48f9987 (diff)
downloadmitmproxy-0b8b943b0ba0a6d0705c96297b1b9e43a9d56c25.tar.gz
mitmproxy-0b8b943b0ba0a6d0705c96297b1b9e43a9d56c25.tar.bz2
mitmproxy-0b8b943b0ba0a6d0705c96297b1b9e43a9d56c25.zip
[web] Update tests.
Diffstat (limited to 'web/src/js')
-rw-r--r--web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap20
1 files changed, 16 insertions, 4 deletions
diff --git a/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap b/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap
index aaa54608..0550c1fa 100644
--- a/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap
+++ b/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap
@@ -62,8 +62,11 @@ exports[`Modal Component should render correctly 2`] = `
>
<input
checked={false}
+ onBlur={[Function]}
onChange={[Function]}
- title="foo"
+ onFocus={[Function]}
+ onMouseLeave={[Function]}
+ onMouseOver={[Function]}
type="checkbox"
/>
</div>
@@ -81,9 +84,12 @@ exports[`Modal Component should render correctly 2`] = `
>
<select
name="choiceOption"
+ onBlur={[Function]}
onChange={[Function]}
+ onFocus={[Function]}
+ onMouseLeave={[Function]}
+ onMouseOver={[Function]}
selected="b"
- title="foo"
>
<option
value="a"
@@ -121,9 +127,12 @@ exports[`Modal Component should render correctly 2`] = `
className="col-sm-4"
>
<input
+ onBlur={[Function]}
onChange={[Function]}
+ onFocus={[Function]}
onKeyDown={[Function]}
- title="foo"
+ onMouseLeave={[Function]}
+ onMouseOver={[Function]}
type="number"
value={1}
/>
@@ -141,9 +150,12 @@ exports[`Modal Component should render correctly 2`] = `
className="col-sm-4"
>
<input
+ onBlur={[Function]}
onChange={[Function]}
+ onFocus={[Function]}
onKeyDown={[Function]}
- title="foo"
+ onMouseLeave={[Function]}
+ onMouseOver={[Function]}
type="text"
value="str content"
/>