You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In OpenSearch Dashboards we use exported test functions such as findTestSubject from oui. These however throw type errors because the type is not exposed similar to the components.
To Reproduce
Steps to reproduce the behavior:
Go to OpenSearch Dashboards repository
open the file src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx
see typescript error
Expected behavior
Expose the types for the test functions too
OpenSearch Version
3.0 Dashboards Version
3.0 Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
OS: [e.g. iOS]
Browser and version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Is it necessary to fix the types? After all, you can update the source of the import, since a new module is declared, the reference should be import { findTestSubject } from '@opensearch-project/oui/lib/test/find_test_subject';
Describe the bug
In OpenSearch Dashboards we use exported test functions such as
findTestSubject
from oui. These however throw type errors because the type is not exposed similar to the components.To Reproduce
Steps to reproduce the behavior:
src/plugins/dashboard/public/application/dashboard_empty_screen.test.tsx
Expected behavior
Expose the types for the test functions too
OpenSearch Version
3.0
Dashboards Version
3.0
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: