Test: CaptchaField

This commit is contained in:
Alex Gleason 2020-06-09 22:04:22 -05:00
parent 6d6dbd9113
commit f147940d22
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
4 changed files with 26 additions and 0 deletions

View file

@ -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.