From fb994af16eab139996a6842433cb4e78dc52aa56 Mon Sep 17 00:00:00 2001 From: sapphi-red <49056869+sapphi-red@users.noreply.github.com> Date: Mon, 9 Dec 2024 18:18:02 +0900 Subject: [PATCH] chore: remove unnecessary type assertion --- packages/vite/src/node/__tests__/build.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vite/src/node/__tests__/build.spec.ts b/packages/vite/src/node/__tests__/build.spec.ts index 95618dd7ac5204..b576b6e8d14532 100644 --- a/packages/vite/src/node/__tests__/build.spec.ts +++ b/packages/vite/src/node/__tests__/build.spec.ts @@ -774,7 +774,7 @@ describe('onRollupLog', () => { logger: Logger, options?: Pick, ) => { - return (await build({ + await build({ root: resolve(__dirname, 'packages/build-project'), logLevel: 'info', build: { @@ -801,7 +801,7 @@ describe('onRollupLog', () => { }, }, ], - })) as RollupOutput + }) } const callOnRollupLog = async (