diff --git a/packages/builder/src/stores/portal/admin.test.js b/packages/builder/src/stores/portal/admin.test.js index 831e1b0bc4..af5ed48bcf 100644 --- a/packages/builder/src/stores/portal/admin.test.js +++ b/packages/builder/src/stores/portal/admin.test.js @@ -31,7 +31,12 @@ vi.mock("api", () => { }) vi.mock("@budibase/bbui", () => { - return { banner: { showStatus: vi.fn() } } + return { + banner: { showStatus: vi.fn() }, + Helpers: { + uuid: vi.fn(), + }, + } }) describe("admin store", () => { diff --git a/packages/builder/src/stores/portal/backups.test.js b/packages/builder/src/stores/portal/backups.test.js index c4da6784ab..86aaff7ad9 100644 --- a/packages/builder/src/stores/portal/backups.test.js +++ b/packages/builder/src/stores/portal/backups.test.js @@ -10,6 +10,9 @@ vi.mock("svelte/store", () => { subscribe: vi.fn(), update: vi.fn(), })), + derived: vi.fn(() => ({ + subscribe: vi.fn(), + })), } })