style(i18n): format backend errors test
This commit is contained in:
1 file changed
+1
-3
+1
-3
@@ -385,9 +385,7 @@ describe("backend error translation", () => {
|
|||||||
};
|
};
|
||||||
const summary = t("backendErrors.legacy");
|
const summary = t("backendErrors.legacy");
|
||||||
|
|
||||||
expect(translateBackendError(t, error, `${summary}\n\nrelation missing_table does not exist`)).toBe(
|
expect(translateBackendError(t, error, `${summary}\n\nrelation missing_table does not exist`)).toBe(`${summary}\n\nrelation missing_table does not exist`);
|
||||||
`${summary}\n\nrelation missing_table does not exist`,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
test("preserves JSON envelopes carried by strings and Error messages", () => {
|
test("preserves JSON envelopes carried by strings and Error messages", () => {
|
||||||
|
|||||||
Reference in new issue
Block a user