Skip to content

Commit

Permalink
🌱 Enable mocha testing on webview-ui
Browse files Browse the repository at this point in the history
Enable mocha tests on `webview-ui` by:
  - moving mocha deps to root `package.json`
  - adding `.mocharc.json` to each project that has unit tests
  - adopt `tsx` instead of `ts-node`

Note: A glob is in place on `webview-ui`'s test script since
no unit test currently exist to run.  In that case, it isn't
really an error.  In the future, once a test is added, the glob
check should be removed so mocha will fail if tests are not found.

Supports: konveyor#338

Signed-off-by: Scott J Dickerson <[email protected]>
  • Loading branch information
sjd78 committed Feb 4, 2025
1 parent 39882a8 commit 1abb818
Show file tree
Hide file tree
Showing 6 changed files with 509 additions and 164 deletions.
Loading

0 comments on commit 1abb818

Please sign in to comment.