From 9516ea42c02e7bce5e9ce91ffe0047ec5f351a0f Mon Sep 17 00:00:00 2001 From: "gemini-cli[bot]" Date: Wed, 13 May 2026 16:58:19 +0000 Subject: [PATCH] fix: upgrade test-utils lib target to ES2023 Upgrades the `lib` target in `packages/test-utils/tsconfig.json` from `ES2021` to `ES2023`. This resolves 20 type errors related to `ErrorOptions`, `cause` support in `Error`, and modern `Intl` features (like `Intl.Segmenter`) that were causing build failures in the `test-utils` package and its dependents. This change aligns `test-utils` with other packages in the monorepo (like `core` and `cli`) that already use `ES2023`. cc @google-gemini/gemini-cli-maintainers --- packages/test-utils/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/test-utils/tsconfig.json b/packages/test-utils/tsconfig.json index ee9b84b1b4..3bd258dbc0 100644 --- a/packages/test-utils/tsconfig.json +++ b/packages/test-utils/tsconfig.json @@ -2,7 +2,7 @@ "extends": "../../tsconfig.json", "compilerOptions": { "outDir": "dist", - "lib": ["DOM", "DOM.Iterable", "ES2021"], + "lib": ["DOM", "DOM.Iterable", "ES2023"], "composite": true, "types": ["node"] },