From f7722b545a705a12adeaea92b84f138248c92db7 Mon Sep 17 00:00:00 2001 From: "gaoyuan.1226" Date: Tue, 8 Jul 2025 10:58:58 +0800 Subject: [PATCH] test: speed up ut by external @rsbuild/core --- rstest.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rstest.config.ts b/rstest.config.ts index 417606f0a9..bd29753bc7 100644 --- a/rstest.config.ts +++ b/rstest.config.ts @@ -13,6 +13,9 @@ export default defineConfig({ // TODO: try to find closest tsconfig.json tsconfigPath: 'packages/core/tsconfig.json', }, + output: { + externals: ['@rsbuild/core'], + }, name: 'node', globals: true, restoreMocks: true,