mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-07 15:52:52 +03:00
Validated in local merge-train T7 (ungrouped batch 2)
This commit is contained in:
@@ -20,6 +20,11 @@ test("errorConfig exposes centralized client-facing status metadata", () => {
|
||||
code: "payment_required",
|
||||
});
|
||||
assert.equal(DEFAULT_ERROR_MESSAGES[406], "Model not supported");
|
||||
assert.deepEqual(ERROR_TYPES[499], {
|
||||
type: "client_disconnected",
|
||||
code: "client_disconnected",
|
||||
});
|
||||
assert.equal(DEFAULT_ERROR_MESSAGES[499], "Client disconnected");
|
||||
assert.equal(getDefaultErrorMessage(999), "An error occurred");
|
||||
assert.deepEqual(getErrorInfo(504), {
|
||||
type: "server_error",
|
||||
|
||||
Reference in New Issue
Block a user