@@ -5,12 +5,12 @@ import Documentation from '../../Documentation';
5
5
import type { Importer } from '../../importer' ;
6
6
import type { ComponentNode } from '../../resolver' ;
7
7
import type DocumentationMock from '../../__mocks__/Documentation' ;
8
- import propDocBlockHandler from '../propDocBlockHandler .js' ;
8
+ import propDocblockHandler from '../propDocblockHandler .js' ;
9
9
import { beforeEach , describe , expect , test , vi } from 'vitest' ;
10
10
11
11
vi . mock ( '../../Documentation.js' ) ;
12
12
13
- describe ( 'propDocBlockHandler ' , ( ) => {
13
+ describe ( 'propDocblockHandler ' , ( ) => {
14
14
let documentation : Documentation & DocumentationMock ;
15
15
16
16
beforeEach ( ( ) => {
@@ -49,7 +49,7 @@ describe('propDocBlockHandler', () => {
49
49
) ,
50
50
) ;
51
51
52
- propDocBlockHandler ( documentation , definition ) ;
52
+ propDocblockHandler ( documentation , definition ) ;
53
53
expect ( documentation . descriptors ) . toEqual ( {
54
54
foo : {
55
55
description : 'Foo comment' ,
@@ -75,7 +75,7 @@ describe('propDocBlockHandler', () => {
75
75
) ,
76
76
) ;
77
77
78
- propDocBlockHandler ( documentation , definition ) ;
78
+ propDocblockHandler ( documentation , definition ) ;
79
79
expect ( documentation . descriptors ) . toEqual ( {
80
80
foo : {
81
81
description :
@@ -102,7 +102,7 @@ describe('propDocBlockHandler', () => {
102
102
) ,
103
103
) ;
104
104
105
- propDocBlockHandler ( documentation , definition ) ;
105
+ propDocblockHandler ( documentation , definition ) ;
106
106
expect ( documentation . descriptors ) . toEqual ( {
107
107
foo : {
108
108
description : 'Foo comment' ,
@@ -126,7 +126,7 @@ describe('propDocBlockHandler', () => {
126
126
) ,
127
127
) ;
128
128
129
- propDocBlockHandler ( documentation , definition ) ;
129
+ propDocblockHandler ( documentation , definition ) ;
130
130
expect ( documentation . descriptors ) . toEqual ( {
131
131
foo : {
132
132
description : 'Foo comment' ,
@@ -150,7 +150,7 @@ describe('propDocBlockHandler', () => {
150
150
) ,
151
151
) ;
152
152
153
- propDocBlockHandler ( documentation , definition ) ;
153
+ propDocblockHandler ( documentation , definition ) ;
154
154
expect ( documentation . descriptors ) . toEqual ( {
155
155
foo : {
156
156
description : 'Foo comment' ,
@@ -169,7 +169,7 @@ describe('propDocBlockHandler', () => {
169
169
};
170
170
` ) ;
171
171
172
- propDocBlockHandler ( documentation , definition ) ;
172
+ propDocblockHandler ( documentation , definition ) ;
173
173
expect ( documentation . descriptors ) . toEqual ( {
174
174
foo : {
175
175
description : 'Foo comment' ,
@@ -186,7 +186,7 @@ describe('propDocBlockHandler', () => {
186
186
mockImporter ,
187
187
) ;
188
188
189
- propDocBlockHandler ( documentation , definition ) ;
189
+ propDocblockHandler ( documentation , definition ) ;
190
190
expect ( documentation . descriptors ) . toEqual ( {
191
191
foo : {
192
192
description : 'A comment on imported props' ,
@@ -210,7 +210,7 @@ describe('propDocBlockHandler', () => {
210
210
mockImporter ,
211
211
) ;
212
212
213
- propDocBlockHandler ( documentation , definition ) ;
213
+ propDocblockHandler ( documentation , definition ) ;
214
214
expect ( documentation . descriptors ) . toEqual ( {
215
215
foo : {
216
216
description : 'A comment on imported props' ,
@@ -263,15 +263,15 @@ describe('propDocBlockHandler', () => {
263
263
const definition = parse . expression < ObjectExpression > ( '{fooBar: 42}' ) ;
264
264
265
265
expect ( ( ) =>
266
- propDocBlockHandler ( documentation , definition ) ,
266
+ propDocblockHandler ( documentation , definition ) ,
267
267
) . not . toThrow ( ) ;
268
268
} ) ;
269
269
270
270
test ( 'ClassDeclaration' , ( ) => {
271
271
const definition = parse . statement < ClassDeclaration > ( 'class Foo {}' ) ;
272
272
273
273
expect ( ( ) =>
274
- propDocBlockHandler ( documentation , definition ) ,
274
+ propDocblockHandler ( documentation , definition ) ,
275
275
) . not . toThrow ( ) ;
276
276
} ) ;
277
277
} ) ;
0 commit comments