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 UI unit tests #10640

Closed
2 tasks done
framebassman opened this issue Apr 19, 2024 · 1 comment
Closed
2 tasks done

Fix UI unit tests #10640

framebassman opened this issue Apr 19, 2024 · 1 comment
Labels
area/webui kind/bug/confirmed a confirmed bug (reproducible).

Comments

@framebassman
Copy link
Contributor

Welcome!

  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you expect to see?

Motivation
As a Traefik Frontend Developer I want to unit test the changes in webui project

I got the following output when I try to run unit tests for webui project

xxxxxxxxxxxxxxx :: personal/traefik/webui » yarn run test-unit
yarn run v1.22.19
$ mocha-webpack --mode=production './src/**/*.spec.js'
/bin/sh: 1: mocha-webpack: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@framebassman
Copy link
Contributor Author

The ticket should be resolved in #10665

@ldez ldez added area/webui kind/bug/confirmed a confirmed bug (reproducible). and removed status/0-needs-triage labels May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/webui kind/bug/confirmed a confirmed bug (reproducible).
Projects
None yet
Development

No branches or pull requests

3 participants