Description
Actually package.json executes pretest for Json:check. This JSON formatting check is performed using prettier.
Anyway .prettierignore file do not properly excludes all the files. In particular bin-war files (or in general any target folder)
This causes the test to fail because of JSON warnings in pre-test phase
How to reproduce
- execute
./build.sh version binary
- execute
npm test
Expected Result
Test are executed
Current Result
tests are not executed because pretest fails because of warnings.
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)
| Browser Affected |
Version |
| Internet Explorer |
|
| Edge |
|
| Chrome |
|
| Firefox |
|
| Safari |
|
Other useful information
Description
Actually
package.jsonexecutespretestforJson:check. This JSON formatting check is performed using prettier.Anyway
.prettierignorefile do not properly excludes all the files. In particularbin-warfiles (or in general anytargetfolder)This causes the test to fail because of JSON warnings in pre-test phase
How to reproduce
./build.sh version binarynpm testExpected Result
Test are executed
Current Result
tests are not executed because pretest fails because of warnings.
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)Other useful information