Skip to content
/ kibana Public
forked from elastic/kibana

Commit

Permalink
Jest and Storybook fixes (elastic#116132)
Browse files Browse the repository at this point in the history
* Fix all broken stories
* In stories that were broken, add an associated Jest test so they if they break in the future we'll know
* Fix all console.error messages that were being printed during Jest test runs
* Add test setup which makes it so `console.error` throws an error so tests will fail if error console messages are printed
# Conflicts:
#	x-pack/plugins/apm/public/components/shared/backend_link.stories.tsx
  • Loading branch information
smith committed Oct 28, 2021
1 parent 3e388b4 commit 2b25394
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ Example.args = {
rangeFrom: 'now-15m',
rangeTo: 'now',
},
type: 'db',
subtype: 'postgresql',
};

0 comments on commit 2b25394

Please sign in to comment.