Test: CaptchaField
This commit is contained in:
parent
6d6dbd9113
commit
f147940d22
4 changed files with 26 additions and 0 deletions
|
@ -0,0 +1,26 @@
|
|||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<CaptchaField /> renders null by default 1`] = `null`;
|
||||
|
||||
exports[`<NativeCaptchaField /> renders correctly 1`] = `
|
||||
<div
|
||||
className="captcha"
|
||||
>
|
||||
<img
|
||||
alt="captcha"
|
||||
src="data:image/png;base64,..."
|
||||
/>
|
||||
<div
|
||||
className="input required"
|
||||
>
|
||||
<input
|
||||
autoComplete="off"
|
||||
name="captcha_solution"
|
||||
onChange={[Function]}
|
||||
placeholder="Enter the pictured text"
|
||||
required={true}
|
||||
type="text"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
`;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue