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
This commit is contained in:
gemini-cli[bot]
2026-05-13 16:58:19 +00:00
parent 8cda688fe2
commit 9516ea42c0
+1 -1
View File
@@ -2,7 +2,7 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"lib": ["DOM", "DOM.Iterable", "ES2021"],
"lib": ["DOM", "DOM.Iterable", "ES2023"],
"composite": true,
"types": ["node"]
},