diff --git a/client/src/components/Dataset/DatasetStorage/DatasetStorage.test.ts b/client/src/components/Dataset/DatasetStorage/DatasetStorage.test.ts index a1b0b8e384de..9ef1926d5e80 100644 --- a/client/src/components/Dataset/DatasetStorage/DatasetStorage.test.ts +++ b/client/src/components/Dataset/DatasetStorage/DatasetStorage.test.ts @@ -1,6 +1,6 @@ import { shallowMount } from "@vue/test-utils"; import flushPromises from "flush-promises"; -import { getLocalVue } from "tests/jest/helpers"; +import { getLocalVue, suppressDebugConsole } from "tests/jest/helpers"; import { type DatasetStorageDetails } from "@/api"; import { useServerMock } from "@/api/client/__mocks__"; @@ -58,6 +58,7 @@ describe("DatasetStorage.vue", () => { }); it("test error rendering...", async () => { + suppressDebugConsole(); mount({ simulateError: true }); await flushPromises(); expect(wrapper.findAll(".error").length).toBe(1);