Skip to content

Commit

Permalink
fix failing tests (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored Jul 14, 2021
1 parent 6db9799 commit a68c763
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('FiltersForm component', () => {
done(e);
}
};
ReactDOM.render( <FiltersForm show onClear={onClear} submitOnChangeField={false} />, document.getElementById("container"));
ReactDOM.render( <FiltersForm show onClear={onClear} query={{ q: 'A' }} submitOnChangeField={false} />, document.getElementById("container"));
const filterFormNode = document.querySelector('.gn-filter-form');
expect(filterFormNode).toBeTruthy();
const footerButtons = filterFormNode.querySelectorAll('.gn-filter-form-footer > button');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('gnsave epics', () => {
description: 'Description',
thumbnail: 'thumbnail.jpeg'
};
mockAxios.onPost().reply(() => [200, {}]);
mockAxios.onPost().reply(() => [200, { map: {} }]);
testEpic(
gnSaveContent,
NUM_ACTIONS,
Expand Down

0 comments on commit a68c763

Please sign in to comment.