diff --git a/plugins/stackstorm/src/components/ActionsList/ActionsList.test.tsx b/plugins/stackstorm/src/components/ActionsList/ActionsList.test.tsx index 9f57d76ef3..b59d2f4132 100644 --- a/plugins/stackstorm/src/components/ActionsList/ActionsList.test.tsx +++ b/plugins/stackstorm/src/components/ActionsList/ActionsList.test.tsx @@ -54,8 +54,6 @@ const actions: Action[] = [ describe('ActionsList', () => { const mockApi: jest.Mocked = { - getExecutions: jest.fn().mockResolvedValue([]), - getExecution: jest.fn().mockResolvedValue({}), getPacks: jest.fn().mockResolvedValue(packs), getActions: jest.fn().mockResolvedValue(actions), } as any; diff --git a/plugins/stackstorm/src/components/PacksTable/PacksTable.test.tsx b/plugins/stackstorm/src/components/PacksTable/PacksTable.test.tsx index e0f922d211..b45d460068 100644 --- a/plugins/stackstorm/src/components/PacksTable/PacksTable.test.tsx +++ b/plugins/stackstorm/src/components/PacksTable/PacksTable.test.tsx @@ -33,10 +33,7 @@ const packs: Pack[] = [ describe('PacksTable', () => { const mockApi: jest.Mocked = { - getExecutions: jest.fn().mockResolvedValue([]), - getExecution: jest.fn().mockResolvedValue({}), getPacks: jest.fn().mockResolvedValue(packs), - getActions: jest.fn().mockResolvedValue([]), } as any; it('should render all packs', async () => {