diff options
author | Matthew Shao <me@matshao.com> | 2017-05-16 18:00:14 +0800 |
---|---|---|
committer | Matthew Shao <me@matshao.com> | 2017-05-16 18:00:14 +0800 |
commit | d63e01d48de70e43b934e8297ccb06ea14546426 (patch) | |
tree | 50aad56019f5afe51220b95eb30f1e1fde419cf3 /web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap | |
parent | 69c5a0b6993f70340a0a4b99159086c638d77103 (diff) | |
download | mitmproxy-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__/ValidateEditorSpec.js.snap')
-rw-r--r-- | web/src/js/__tests__/components/ValueEditor/__snapshots__/ValidateEditorSpec.js.snap | 21 |
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} +/> +`; |