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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user