aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-06-06 19:04:40 +0800
committerMatthew Shao <me@matshao.com>2017-06-06 19:04:40 +0800
commit3d51595b27c6e24a377166a2dc793c0f271ed612 (patch)
treee6d52476c8e0e7a949c2067ec4463d81f8f3d0da /web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap
parentc9a7286b6009d8a1b98babd3292685e1a9163019 (diff)
downloadmitmproxy-3d51595b27c6e24a377166a2dc793c0f271ed612.tar.gz
mitmproxy-3d51595b27c6e24a377166a2dc793c0f271ed612.tar.bz2
mitmproxy-3d51595b27c6e24a377166a2dc793c0f271ed612.zip
[web] Add tests for js/components/ContentView/UploadContentButton.jsx
Diffstat (limited to 'web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap')
-rw-r--r--web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap b/web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap
new file mode 100644
index 00000000..f642d731
--- /dev/null
+++ b/web/src/js/__tests__/components/ContentView/__snapshots__/UploadContentButtonSpec.js.snap
@@ -0,0 +1,19 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`UpdateContentButton Component should render correctly 1`] = `
+<a
+ className="btn btn-default btn-xs"
+ href="#"
+ onClick={[Function]}
+ title="Upload a file to replace the content."
+>
+ <i
+ className="fa fa-fw fa-upload"
+ />
+ <input
+ className="hidden"
+ onChange={[Function]}
+ type="file"
+ />
+</a>
+`;