Skip to content

Commit

Permalink
[Maps] fix unhandled promise rejections in jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Sep 21, 2021
1 parent 0fd39c9 commit b089553
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 6 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ const mockLayer = {
hasErrors: () => {
return false;
},
supportsFitToBounds: () => {
return true;
},
} as unknown as ILayer;

const defaultProps = {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ const mockLayer = {
hasLegendDetails: () => {
return true;
},
supportsFitToBounds: () => {
return true;
},
} as unknown as ILayer;

const defaultProps = {
Expand Down

0 comments on commit b089553

Please sign in to comment.