New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: add Tests and Storybook for AsyncAceEditor #13241
test: add Tests and Storybook for AsyncAceEditor #13241
Conversation
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
constructor(stringUrl: string) { | ||
this.url = stringUrl; | ||
this.onMessage = () => {}; | ||
this.terminate = () => {}; |
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 you mind noting why is this needed? Not sure how it this related to AsyncAceEditor.
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.
Thanks for the info! Makes sense.
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.
👍
SUMMARY
-Adds tests for the
AsyncAceEditor
component and a storybook entry with controls.-Moves
AsyncAceEditor
component to its own folderBEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TEST PLAN
1 - Execute all tests
2 - All tests should pass
@rusackas
ADDITIONAL INFORMATION