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

[BUG][Workspace]Workspace routes unit tests failed #7955

Closed
wanglam opened this issue Sep 2, 2024 · 0 comments
Closed

[BUG][Workspace]Workspace routes unit tests failed #7955

wanglam opened this issue Sep 2, 2024 · 0 comments
Labels
bug Something isn't working untriaged

Comments

@wanglam
Copy link
Contributor

wanglam commented Sep 2, 2024

Describe the bug

The unit tests of src/plugins/workspace/server/routes/index.test.ts was failed like below image:
image

The root cause was dynamicConfigServiceMock no longer export in ../../../../core/server/config after #7922

To Reproduce
Steps to reproduce the behavior:

  1. Clone main branch code
  2. Run yarn osd bootstrap
  3. Run yarn test:jest src/plugins/workspace/server/routes/index.test.ts
  4. All test cases will be failed

Expected behavior
All test cases should be passed

OpenSearch Version
N/A

Dashboards Version
Latest main branch

Plugins
N/A

Screenshots

image

Host/Environment (please complete the following information):

  • OS: [e.g. iOS]
  • Browser and version [e.g. 22]

Additional context

#4944

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working untriaged
Projects
None yet
Development

No branches or pull requests

1 participant