Skip to content

Commit

Permalink
Fixed type checks
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Feb 3, 2020
1 parent 8d332db commit c0b3195
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ describe('connector_add_flyout', () => {
setAddFlyoutVisibility: state => {},
editFlyoutVisible: false,
setEditFlyoutVisibility: state => {},
actionTypesIndex: { 'my-action-type': { id: 'my-action-type', name: 'test' } },
actionTypesIndex: {
'my-action-type': { id: 'my-action-type', name: 'test', enabled: true },
},
reloadConnectors: () => {
return new Promise<void>(() => {});
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ describe('connector_add_modal', () => {
const actionType = {
id: 'my-action-type',
name: 'test',
enabled: true,
};

const wrapper = mountWithIntl(
Expand All @@ -79,7 +80,9 @@ describe('connector_add_modal', () => {
setAddFlyoutVisibility: state => {},
editFlyoutVisible: false,
setEditFlyoutVisibility: state => {},
actionTypesIndex: { 'my-action-type': { id: 'my-action-type', name: 'test' } },
actionTypesIndex: {
'my-action-type': { id: 'my-action-type', name: 'test', enabled: true },
},
reloadConnectors: () => {
return new Promise<void>(() => {});
},
Expand Down

0 comments on commit c0b3195

Please sign in to comment.