Skip to content

Commit 8e7268c

Browse files
committed
remove lint problems
1 parent 429d418 commit 8e7268c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/hono/test/shared/patchAppUse.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ describe('patchAppUse (middleware spans)', () => {
7171
const app = new Hono();
7272
patchAppUse(app);
7373

74-
app.use(async (_c: unknown, next: () => Promise<void>) => await next());
74+
app.use(async (_c: unknown, next: () => Promise<void>) => next());
7575

7676
await app.fetch(new Request('http://localhost/'));
7777

@@ -85,7 +85,7 @@ describe('patchAppUse (middleware spans)', () => {
8585
const app = new Hono();
8686
patchAppUse(app);
8787

88-
const handler = async (_c: unknown, next: () => Promise<void>) => await next();
88+
const handler = async (_c: unknown, next: () => Promise<void>) => next();
8989
app.use('/api', handler);
9090
app.get('/api', () => new Response('ok'));
9191

0 commit comments

Comments
 (0)