13
13
jest . autoMockOff ( ) ;
14
14
jest . mock ( '../../Documentation' ) ;
15
15
16
- describe ( 'propDocblockHandler ' , ( ) => {
16
+ describe ( 'propDocBlockHandler ' , ( ) => {
17
17
var utils ;
18
18
var documentation ;
19
- var propDocblockHandler ;
19
+ var propDocBlockHandler ;
20
20
21
21
beforeEach ( ( ) => {
22
22
utils = require ( '../../../tests/utils' ) ;
23
23
documentation = new ( require ( '../../Documentation' ) ) ;
24
- propDocblockHandler = require ( '../propDocblockHandler ' ) ;
24
+ propDocBlockHandler = require ( '../propDocBlockHandler ' ) ;
25
25
} ) ;
26
26
27
27
function parse ( definition ) {
@@ -50,7 +50,7 @@ describe('propDocblockHandler', () => {
50
50
'})'
51
51
] . join ( '\n' ) ) ;
52
52
53
- propDocblockHandler ( documentation , definition ) ;
53
+ propDocBlockHandler ( documentation , definition ) ;
54
54
expect ( documentation . descriptors ) . toEqual ( {
55
55
foo : {
56
56
description : 'Foo comment'
@@ -76,7 +76,7 @@ describe('propDocblockHandler', () => {
76
76
'})'
77
77
] . join ( '\n' ) ) ;
78
78
79
- propDocblockHandler ( documentation , definition ) ;
79
+ propDocBlockHandler ( documentation , definition ) ;
80
80
expect ( documentation . descriptors ) . toEqual ( {
81
81
foo : {
82
82
description :
@@ -104,7 +104,7 @@ describe('propDocblockHandler', () => {
104
104
'})'
105
105
] . join ( '\n' ) ) ;
106
106
107
- propDocblockHandler ( documentation , definition ) ;
107
+ propDocBlockHandler ( documentation , definition ) ;
108
108
expect ( documentation . descriptors ) . toEqual ( {
109
109
foo : {
110
110
description : 'Foo comment'
@@ -128,7 +128,7 @@ describe('propDocblockHandler', () => {
128
128
'})'
129
129
] . join ( '\n' ) ) ;
130
130
131
- propDocblockHandler ( documentation , definition ) ;
131
+ propDocBlockHandler ( documentation , definition ) ;
132
132
expect ( documentation . descriptors ) . toEqual ( {
133
133
foo : {
134
134
description : 'Foo comment'
@@ -152,7 +152,7 @@ describe('propDocblockHandler', () => {
152
152
'})'
153
153
] . join ( '\n' ) ) ;
154
154
155
- propDocblockHandler ( documentation , definition ) ;
155
+ propDocBlockHandler ( documentation , definition ) ;
156
156
expect ( documentation . descriptors ) . toEqual ( {
157
157
foo : {
158
158
description : 'Foo comment'
@@ -173,7 +173,7 @@ describe('propDocblockHandler', () => {
173
173
'})'
174
174
] . join ( '\n' ) ) ;
175
175
176
- propDocblockHandler ( documentation , definition ) ;
176
+ propDocBlockHandler ( documentation , definition ) ;
177
177
expect ( documentation . descriptors ) . toEqual ( {
178
178
foo : {
179
179
description : 'Foo comment'
@@ -189,7 +189,7 @@ describe('propDocblockHandler', () => {
189
189
] . join ( '\n' ) ) ;
190
190
191
191
expect ( function ( ) {
192
- propDocblockHandler ( documentation , definition ) ;
192
+ propDocBlockHandler ( documentation , definition ) ;
193
193
} ) . not . toThrow ( ) ;
194
194
} ) ;
195
195
} ) ;
0 commit comments