fix: add ExecutionsTable and ExecutionPanel tests

Signed-off-by: pamelin <pamelin@expediagroup.com>
This commit is contained in:
pamelin
2023-02-07 14:47:46 +00:00
parent 7ce480edcf
commit f5ff07e1ea
2 changed files with 0 additions and 5 deletions
@@ -54,8 +54,6 @@ const actions: Action[] = [
describe('ActionsList', () => {
const mockApi: jest.Mocked<StackStormApi> = {
getExecutions: jest.fn().mockResolvedValue([]),
getExecution: jest.fn().mockResolvedValue({}),
getPacks: jest.fn().mockResolvedValue(packs),
getActions: jest.fn().mockResolvedValue(actions),
} as any;
@@ -33,10 +33,7 @@ const packs: Pack[] = [
describe('PacksTable', () => {
const mockApi: jest.Mocked<StackStormApi> = {
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 () => {