test(offline): rename success case to match its assertion (F5)

The success path calls notifications.show without a color (Mantine default,
not green), and the test asserts color is undefined — rename the case from
'GREEN success toast' to 'success toast with no error color'.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
claude code agent 227
2026-06-29 17:02:44 +03:00
parent 5eb92f2cef
commit 47f37072ab

View File

@@ -129,7 +129,7 @@ afterEach(() => {
});
describe("NodeMenu — make available offline (F1 guarantee)", () => {
it("full success: read queries warmed AND ydoc synced → GREEN success toast", async () => {
it("full success: read queries warmed AND ydoc synced → success toast with no error color", async () => {
h.makePageAvailableOffline.mockResolvedValue({ ok: true, failed: [] });
h.warmPageYdoc.mockResolvedValue(true);