diff options
author | Matthew Shao <me@matshao.com> | 2017-07-24 20:35:43 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-07-24 20:36:21 +0800 |
commit | 5c45a90ce961d740e59644f4de0f8ffe97a5706c (patch) | |
tree | 0a80cbf76983042ee33c6b8d66439c0ac1e02198 /web/src/js | |
parent | 8c3e988a8c95bae7235d5de4ba8e85e77988c395 (diff) | |
download | mitmproxy-5c45a90ce961d740e59644f4de0f8ffe97a5706c.tar.gz mitmproxy-5c45a90ce961d740e59644f4de0f8ffe97a5706c.tar.bz2 mitmproxy-5c45a90ce961d740e59644f4de0f8ffe97a5706c.zip |
[web] Update tests.
Diffstat (limited to 'web/src/js')
-rw-r--r-- | web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap | 29 |
1 files changed, 28 insertions, 1 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 0b904c07..92dad72b 100644 --- a/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap +++ b/web/src/js/__tests__/components/Modal/__snapshots__/ModalSpec.js.snap @@ -246,7 +246,34 @@ exports[`Modal Component should render correctly 2`] = ` </div> <div className="modal-footer" - /> + > + <button + className="btn btn-default" + onClick={[Function]} + type="button" + > + <i + className="fa fa-download" + /> + Download + </button> + <a + className="btn btn-primary" + href="#" + onClick={[Function]} + title={undefined} + > + <i + className="fa fa-fw fa-upload" + /> + Load + <input + className="hidden" + onChange={[Function]} + type="file" + /> + </a> + </div> </div> </div> </div> |