File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
packages/clay-form/src/__tests__ Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
+ exports [` ClayForm BlockquoteText renders 1` ] = `
4
+ <div
5
+ className = " blockquote form-text"
6
+ />
7
+ ` ;
8
+
3
9
exports [` ClayForm FeedbackGroup renders 1` ] = `
4
10
<div
5
11
className = " form-feedback-group"
@@ -33,6 +39,12 @@ exports[`ClayForm Group renders 1`] = `
33
39
/>
34
40
` ;
35
41
42
+ exports [` ClayForm HelpText renders 1` ] = `
43
+ <span
44
+ className = " form-help-text"
45
+ />
46
+ ` ;
47
+
36
48
exports [` ClayForm Input.Group renders 1` ] = `
37
49
<div
38
50
className = " input-group"
Original file line number Diff line number Diff line change @@ -40,6 +40,18 @@ describe('ClayForm', () => {
40
40
expect ( testRenderer . toJSON ( ) ) . toMatchSnapshot ( ) ;
41
41
} ) ;
42
42
43
+ it ( 'BlockquoteText renders' , ( ) => {
44
+ const testRenderer = TestRenderer . create ( < ClayForm . BlockquoteText /> ) ;
45
+
46
+ expect ( testRenderer . toJSON ( ) ) . toMatchSnapshot ( ) ;
47
+ } ) ;
48
+
49
+ it ( 'HelpText renders' , ( ) => {
50
+ const testRenderer = TestRenderer . create ( < ClayForm . HelpText /> ) ;
51
+
52
+ expect ( testRenderer . toJSON ( ) ) . toMatchSnapshot ( ) ;
53
+ } ) ;
54
+
43
55
it ( 'Text renders' , ( ) => {
44
56
const testRenderer = TestRenderer . create ( < ClayForm . Text /> ) ;
45
57
You can’t perform that action at this time.
0 commit comments