aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/__tests__/components/ValueEditor/__snapshots__
diff options
context:
space:
mode:
authorMatthew Shao <me@matshao.com>2017-05-16 18:00:14 +0800
committerMatthew Shao <me@matshao.com>2017-05-16 18:00:14 +0800
commitd63e01d48de70e43b934e8297ccb06ea14546426 (patch)
tree50aad56019f5afe51220b95eb30f1e1fde419cf3 /web/src/js/__tests__/components/ValueEditor/__snapshots__
parent69c5a0b6993f70340a0a4b99159086c638d77103 (diff)
downloadmitmproxy-d63e01d48de70e43b934e8297ccb06ea14546426.tar.gz
mitmproxy-d63e01d48de70e43b934e8297ccb06ea14546426.tar.bz2
mitmproxy-d63e01d48de70e43b934e8297ccb06ea14546426.zip
[web] Add tests for js/components/ValueEditor/ValidateEditor.js
Diffstat (limited to 'web/src/js/__tests__/components/ValueEditor/__snapshots__')
-rw-r--r--web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap21
1 files changed, 21 insertions, 0 deletions
diff --git a/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap b/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap
new file mode 100644
index 00000000..7d6f22d8
--- /dev/null
+++ b/web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap
@@ -0,0 +1,21 @@
+// Jest Snapshot v1, https://goo.gl/fbAQLP
+
+exports[`ValidateEditor Component should be render correctly 1`] = `
+<div
+ className="inline-input editable has-success"
+ contentEditable={undefined}
+ dangerouslySetInnerHTML={
+ Object {
+ "__html": "foo",
+ }
+ }
+ onBlur={[Function]}
+ onClick={[Function]}
+ onFocus={[Function]}
+ onInput={[Function]}
+ onKeyDown={[Function]}
+ onMouseDown={[Function]}
+ onPaste={[Function]}
+ tabIndex={0}
+/>
+`;