-
Notifications
You must be signed in to change notification settings - Fork 31
[Testing] Update existing visual/data report helper test suite #157
[Testing] Update existing visual/data report helper test suite #157
Conversation
@@ -9,12 +9,14 @@ | |||
"module": "commonjs", | |||
"outDir": "./target", | |||
"noEmit": true, | |||
"types": ["node", "jest", "react"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these not needed? I thought this line had to be included
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deleting this line will get rid of the type error on jest related types, such as describe()
, test
, jest.fn()
. I am not sure about other negative affects, any idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do tests pass when you run yarn test --coverage
? Aside from the ones that haven't been updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there are existing snapshot tests that are not fixed yet
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok- should be fine then. It'll be an easy one-line fix if it does end up breaking anything, anyway 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - just one minor comment
Added one more line in |
Issue #, if available:
Description of changes:
Due to the previous code changes, need update existing test suites accordingly.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.