Skip to content

Test fail if a binary was previously produced #11058

@offtherailz

Description

@offtherailz

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.

  • Not browser related
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

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions