@@ -5,12 +5,12 @@ import Documentation from '../../Documentation';
55import type { Importer } from '../../importer' ;
66import type { ComponentNode } from '../../resolver' ;
77import type DocumentationMock from '../../__mocks__/Documentation' ;
8- import propDocBlockHandler from '../propDocBlockHandler .js' ;
8+ import propDocblockHandler from '../propDocblockHandler .js' ;
99import { beforeEach , describe , expect , test , vi } from 'vitest' ;
1010
1111vi . mock ( '../../Documentation.js' ) ;
1212
13- describe ( 'propDocBlockHandler ' , ( ) => {
13+ describe ( 'propDocblockHandler ' , ( ) => {
1414 let documentation : Documentation & DocumentationMock ;
1515
1616 beforeEach ( ( ) => {
@@ -49,7 +49,7 @@ describe('propDocBlockHandler', () => {
4949 ) ,
5050 ) ;
5151
52- propDocBlockHandler ( documentation , definition ) ;
52+ propDocblockHandler ( documentation , definition ) ;
5353 expect ( documentation . descriptors ) . toEqual ( {
5454 foo : {
5555 description : 'Foo comment' ,
@@ -75,7 +75,7 @@ describe('propDocBlockHandler', () => {
7575 ) ,
7676 ) ;
7777
78- propDocBlockHandler ( documentation , definition ) ;
78+ propDocblockHandler ( documentation , definition ) ;
7979 expect ( documentation . descriptors ) . toEqual ( {
8080 foo : {
8181 description :
@@ -102,7 +102,7 @@ describe('propDocBlockHandler', () => {
102102 ) ,
103103 ) ;
104104
105- propDocBlockHandler ( documentation , definition ) ;
105+ propDocblockHandler ( documentation , definition ) ;
106106 expect ( documentation . descriptors ) . toEqual ( {
107107 foo : {
108108 description : 'Foo comment' ,
@@ -126,7 +126,7 @@ describe('propDocBlockHandler', () => {
126126 ) ,
127127 ) ;
128128
129- propDocBlockHandler ( documentation , definition ) ;
129+ propDocblockHandler ( documentation , definition ) ;
130130 expect ( documentation . descriptors ) . toEqual ( {
131131 foo : {
132132 description : 'Foo comment' ,
@@ -150,7 +150,7 @@ describe('propDocBlockHandler', () => {
150150 ) ,
151151 ) ;
152152
153- propDocBlockHandler ( documentation , definition ) ;
153+ propDocblockHandler ( documentation , definition ) ;
154154 expect ( documentation . descriptors ) . toEqual ( {
155155 foo : {
156156 description : 'Foo comment' ,
@@ -169,7 +169,7 @@ describe('propDocBlockHandler', () => {
169169 };
170170 ` ) ;
171171
172- propDocBlockHandler ( documentation , definition ) ;
172+ propDocblockHandler ( documentation , definition ) ;
173173 expect ( documentation . descriptors ) . toEqual ( {
174174 foo : {
175175 description : 'Foo comment' ,
@@ -186,7 +186,7 @@ describe('propDocBlockHandler', () => {
186186 mockImporter ,
187187 ) ;
188188
189- propDocBlockHandler ( documentation , definition ) ;
189+ propDocblockHandler ( documentation , definition ) ;
190190 expect ( documentation . descriptors ) . toEqual ( {
191191 foo : {
192192 description : 'A comment on imported props' ,
@@ -210,7 +210,7 @@ describe('propDocBlockHandler', () => {
210210 mockImporter ,
211211 ) ;
212212
213- propDocBlockHandler ( documentation , definition ) ;
213+ propDocblockHandler ( documentation , definition ) ;
214214 expect ( documentation . descriptors ) . toEqual ( {
215215 foo : {
216216 description : 'A comment on imported props' ,
@@ -263,15 +263,15 @@ describe('propDocBlockHandler', () => {
263263 const definition = parse . expression < ObjectExpression > ( '{fooBar: 42}' ) ;
264264
265265 expect ( ( ) =>
266- propDocBlockHandler ( documentation , definition ) ,
266+ propDocblockHandler ( documentation , definition ) ,
267267 ) . not . toThrow ( ) ;
268268 } ) ;
269269
270270 test ( 'ClassDeclaration' , ( ) => {
271271 const definition = parse . statement < ClassDeclaration > ( 'class Foo {}' ) ;
272272
273273 expect ( ( ) =>
274- propDocBlockHandler ( documentation , definition ) ,
274+ propDocblockHandler ( documentation , definition ) ,
275275 ) . not . toThrow ( ) ;
276276 } ) ;
277277 } ) ;
0 commit comments