Details
Description
The ui-extension code contains a folder src/_mocks_ that contains a mock for the penpal library. It's used by Jest when running unit tests.
However, the build system copies this _mocks_ folder to the output path. As a result, the distribution (currently only a Maven JAR file) also contains an empty _mocks_ folder. That should not happen.
Steps to reproduce:
- cd ui-extension
- rm -rf target
- npm ci
- npm run build
Expected: the folder target/classes/_mocks_ does not exist
Actual: the folder target/classes/_mocks_ exists