mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: check i18n warning messages
This commit is contained in:
@@ -134,10 +134,9 @@ describe("i18n", () => {
|
||||
const fresh = await importFreshTranslate();
|
||||
|
||||
expect(fresh.i18n.getLocale()).toBe("en");
|
||||
expect(warningSpy).not.toHaveBeenCalledWith(
|
||||
const warningMessages = warningSpy.mock.calls.map((call) => String(call[0]));
|
||||
expect(warningMessages).not.toContain(
|
||||
"`--localstorage-file` was provided without a valid path",
|
||||
expect.anything(),
|
||||
expect.anything(),
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user