From 71cd30af5e739d2fd50dc035acff76081e9a9c23 Mon Sep 17 00:00:00 2001 From: XiaoPi <530257315@qq.com> Date: Thu, 11 May 2023 15:53:13 +0800 Subject: [PATCH] test: add options type for function tests (#4988) --- test/types.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/types.d.ts b/test/types.d.ts index 7dca9dfc028..29efadae4ba 100644 --- a/test/types.d.ts +++ b/test/types.d.ts @@ -195,6 +195,10 @@ export interface TestConfigFunction extends TestConfigBase { * Expected error when running bundle.generate(). */ generateError?: RollupError; + /** + * Rollup options for bundling. + */ + options?: RollupOptions; /** * Make assertions against an expected runtime error. */