refactor(errors): finish local-limit-error-class and range-error-interpretation guards (#11784)

This commit is contained in:
morluto authored and GitHub committed 2026-11-16 20:55:14 -05:00
1 parent 62f5946ba1
commit 08b63cc8a1
21 files changed
+208 -103

No files matched your search

+6 -1
View File
@@ -238,7 +238,12 @@ it("enforces the caller-selected observation budget", () => {
}),
).toThrow(
expect.objectContaining({
name: "V8CodeCacheBudgetFailure",
name: "ParseFailureError",
failure: expect.objectContaining({
kind: "limit",
format: "v8-code-cache",
limit: { name: "max_strings", maximum: 1 },
}),
message: expect.stringContaining("max_strings"),
}),
);