Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0046181 | Openbravo ERP | A. Platform | public | 2021-03-30 13:21 | 2021-03-30 13:32 |
Reporter | AugustoMauch | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | PR21Q2 | |||
Merge Request Status | approved | ||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0046181: Jest tests should not fail if no tests are found | ||||
Description | If npm test is executed passing as parameter a path where no matching test can be found, execution will fail with an error like this: No tests found, exiting with code 1 Run with `--passWithNoTests` to exit with code 0 In /srv/ci/workspace/mod-simple-ci23.18101 12844 files checked. testMatch: **/web-test/**/?(*.)+(test).[jt]s?(x), **/web-jspack/**/?(*.)+(test).[jt]s?(x) - 209 matches testPathIgnorePatterns: web-jspack - 12824 matches testRegex: - 0 matches Pattern: org.openbravo.retail.trainingmode - 0 matches npm ERR! Test failed. See above for more details. | ||||
Steps To Reproduce | In a retail environment, install the org.openbravo.retail.trainingmode and then run: npm test modules/org.openbravo.retail.trainingmode It will fail with the error mentioned in the description. | ||||
Proposed Solution | Add the --passWithNoTests parameter to jest | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2021-03-30 13:21 | AugustoMauch | New Issue | |||
2021-03-30 13:21 | AugustoMauch | Assigned To | => AugustoMauch | ||
2021-03-30 13:21 | AugustoMauch | OBNetwork customer | => No | ||
2021-03-30 13:21 | AugustoMauch | Modules | => Core | ||
2021-03-30 13:21 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2021-03-30 13:25 | hgbot | Merge Request Status | => open | ||
2021-03-30 13:25 | hgbot | Note Added: 0127027 | |||
2021-03-30 13:30 | hgbot | Merge Request Status | open => approved | ||
2021-03-30 13:32 | hgbot | Resolution | open => fixed | ||
2021-03-30 13:32 | hgbot | Status | new => closed | ||
2021-03-30 13:32 | hgbot | Fixed in Version | => PR21Q2 | ||
2021-03-30 13:32 | hgbot | Note Added: 0127028 | |||
2021-03-30 13:32 | hgbot | Note Added: 0127029 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|