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

Namespace unit test failure #2075

Open
vyncent-t opened this issue Jun 21, 2024 · 0 comments
Open

Namespace unit test failure #2075

vyncent-t opened this issue Jun 21, 2024 · 0 comments
Assignees
Labels
bug Something isn't working testing

Comments

@vyncent-t
Copy link
Contributor

vyncent-t commented Jun 21, 2024

When running npm run test with a namespace.test.ts test, it will fail and link to an error in a different src/lib/k8s/role.ts usage.

Note: The code within namespace.test.ts (located in frontend/src/lib/k8s) has been copied and put into the index.test.ts in the same directory, which does not fail when placed there.

image

Source: PR #2074

How to replicate

  • Refer to the branch Here and checkout into it
  • Locate the namespace.test.ts within frontend/src/lib/k8s
  • cd into frontend and run npm run test
  • press the F key when the test is done to run failed test again
@vyncent-t vyncent-t self-assigned this Jun 21, 2024
@vyncent-t vyncent-t added bug Something isn't working testing labels Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working testing
Projects
None yet
Development

No branches or pull requests

1 participant