Skip to content
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

fix broken jest tests by mocking plotly.js #18

Merged
merged 1 commit into from
Sep 11, 2024

Conversation

ansjcy
Copy link
Member

@ansjcy ansjcy commented Sep 11, 2024

Description

Jest tests are failing after plotly.js is introduced as a dependency, we need to mock the library for jest tests.
Also, adding a missing snapshot for the unit test.

Issues Resolved

#17

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Chenyang Ji <[email protected]>
@ansjcy ansjcy self-assigned this Sep 11, 2024
@ansjcy ansjcy merged commit 1076e81 into opensearch-project:main Sep 11, 2024
5 of 7 checks passed
@ansjcy ansjcy deleted the fix-jest-tests branch September 11, 2024 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants