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,