mirror of
https://github.com/morluto/rea.git
synced 2026-11-21 14:05:49 +00:00
refactor(errors): finish local-limit-error-class and range-error-interpretation guards (#11784)
This commit is contained in:
1 parent
62f5946ba1
commit
08b63cc8a1
21 files changed
+208
-103
No files matched your search
@@ -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"),
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user