diff --git a/packages/builder/src/stores/portal/admin.test.js b/packages/builder/src/stores/portal/admin.test.js index a3f1e645c3..a4adb4320a 100644 --- a/packages/builder/src/stores/portal/admin.test.js +++ b/packages/builder/src/stores/portal/admin.test.js @@ -1,5 +1,5 @@ import { it, expect, describe, beforeEach, vi } from "vitest" -import { DEFAULT_CONFIG, createAdminStore } from "./admin" +import { createAdminStore } from "./admin" import { writable, get } from "svelte/store" import { API } from "api" @@ -45,11 +45,6 @@ describe("admin store", () => { ctx.returnedStore = createAdminStore() }) - it("inits the writable store with the default config", () => { - expect(writable).toHaveBeenCalledTimes(1) - expect(writable).toHaveBeenCalledWith(DEFAULT_CONFIG) - }) - it("returns the created store", ctx => { expect(ctx.returnedStore).toEqual({ subscribe: expect.toBe(ctx.writableReturn.subscribe),