@@ -28,6 +28,8 @@ vi.mock('./app', () => ({
2828describe ( 'dispatchers' , ( ) => {
2929 describe ( 'actorDispatcher' , ( ) => {
3030 it ( `returns null if the handle is not "${ ACTOR_DEFAULT_HANDLE } "` , async ( ) => {
31+ // TODO: Clean up the any type
32+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
3133 const ctx = { } as RequestContext < any > ;
3234 const handle = 'anything' ;
3335
@@ -42,6 +44,8 @@ describe('dispatchers', () => {
4244 } ) ;
4345
4446 describe ( 'likedDispatcher' , ( ) => {
47+ // TODO: Clean up the any type
48+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
4549 const likeActivities : Record < string , any > = {
4650 'https://example.com/like/123' : {
4751 '@context' : [
@@ -81,6 +85,8 @@ describe('dispatchers', () => {
8185 info : vi . fn ( ) ,
8286 } ,
8387 } ,
88+ // TODO: Clean up the any type
89+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
8490 } as RequestContext < any > ;
8591
8692 beforeEach ( ( ) => {
@@ -147,6 +153,8 @@ describe('dispatchers', () => {
147153 it ( 'hydrates the object of a like' , async ( ) => {
148154 const actorId = 'https://example.com/actor/123' ;
149155
156+ // TODO: Clean up the any type
157+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
150158 const likeActivities : Record < string , any > = {
151159 'https://example.com/like/123' : {
152160 '@context' : [
@@ -262,6 +270,8 @@ describe('dispatchers', () => {
262270 error : vi . fn ( ) ,
263271 } ,
264272 } ,
273+ // TODO: Clean up the any type
274+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
265275 } as RequestContext < any > ;
266276
267277 beforeEach ( ( ) => {
@@ -328,6 +338,8 @@ describe('dispatchers', () => {
328338
329339 describe ( 'nodeInfoDispatcher' , ( ) => {
330340 it ( 'returns the node info' , async ( ) => {
341+ // TODO: Clean up the any type
342+ // biome-ignore lint/suspicious/noExplicitAny: Legacy code needs proper typing
331343 const result = await nodeInfoDispatcher ( { } as RequestContext < any > ) ;
332344
333345 expect ( result ) . toEqual ( {
0 commit comments