refactor: Remove app store index (#23449)
* Remove app store index * Remove reliance on app-store mock * Remove app store mock
This commit is contained in:
1 parent
28f473da14
commit
bfa23ddb80
3 files changed
+38
-163
No files matched your search
@@ -1,19 +0,0 @@
|
||||
import { beforeEach, vi } from "vitest";
|
||||
import { mockReset, mockDeep } from "vitest-mock-extended";
|
||||
|
||||
import type * as appStore from "@calcom/app-store";
|
||||
|
||||
vi.mock("@calcom/app-store", () => appStoreMock);
|
||||
|
||||
beforeEach(() => {
|
||||
mockReset(appStoreMock);
|
||||
});
|
||||
|
||||
const appStoreMock = mockDeep<typeof appStore>({
|
||||
fallbackMockImplementation: () => {
|
||||
throw new Error(
|
||||
"Unimplemented appStoreMock. You seem to have not mocked the app that you are trying to use"
|
||||
);
|
||||
},
|
||||
});
|
||||
export default appStoreMock;
|
||||
Reference in new issue
Block a user