Openbravo Issue Tracking System - Retail Modules  | 
| View Issue Details | 
  | 
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0045814 | Retail Modules | Web POS | public | 2021-01-29 13:13 | 2021-02-01 07:14 | 
  | 
| Reporter | shuehner |   | 
| Assigned To | ranjith_qualiantech_com |   | 
| Priority | normal | Severity | minor | Reproducibility | have not tried | 
| Status | closed | Resolution | fixed |   | 
| Platform |  | OS | 5 | OS Version |  | 
| Product Version |  |   | 
| Target Version |  | Fixed in Version |  |   | 
| Merge Request Status | approved | 
| Review Assigned To |  | 
| OBNetwork customer | No | 
| Support ticket |  | 
| Regression level |  | 
| Regression date |  | 
| Regression introduced in release |  | 
| Regression introduced by commit |  | 
| Triggers an Emergency Pack | No | 
  | 
| Summary | 0045814: jest test in nexoprovider fail with --strict-mode | 
| Description | Jest test in this module org.openbravo.retail.nexoprovider fail when being run in strict mode (see 45019). 
 
Those should be fixed 
 
List of errors: 
- ReferenceError: sourceIsEvt is not defined 
  on line: 
  > 18 | const { Jsonix } = require('jsonix'); 
 
Always same topic just in a couple of different js files. | 
| Steps To Reproduce | node --use_strict node_modules/.bin/jest 
    ReferenceError: sourceIsEvt is not defined | 
| Proposed Solution |  | 
| Additional Information |  | 
| Tags | No tags attached. | 
| Relationships | | related to  | defect  | 0045820 |   | new  | Retail  | Two jest tests have been disabled in Nexo provider as they imported enyo and could not be run in strict mode  |  | blocks  | feature request  | 0045019 |   | closed  | Retail  | run jest tests in strict mode  |  
  | 
| Attached Files |  | 
  | 
| Issue History | 
| Date Modified | Username | Field | Change | 
| 2021-01-29 13:13 | shuehner | New Issue |  | 
| 2021-01-29 13:13 | shuehner | Assigned To |  => Retail | 
| 2021-01-29 13:13 | shuehner | OBNetwork customer |  => No | 
| 2021-01-29 13:13 | shuehner | Triggers an Emergency Pack |  => No | 
| 2021-01-29 13:13 | shuehner | Relationship added | blocks 0045019 | 
| 2021-01-31 13:44 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | 
| 2021-02-01 04:23 | hgbot | Merge Request Status |  => open | 
| 2021-02-01 04:23 | hgbot | Note Added: 0125897 |  | 
| 2021-02-01 06:25 | ranjith_qualiantech_com | Status | new => scheduled | 
| 2021-02-01 07:13 | marvintm | Relationship added | related to 0045820 | 
| 2021-02-01 07:14 | hgbot | Merge Request Status | open => approved | 
| 2021-02-01 07:14 | hgbot | Resolution | open => fixed | 
| 2021-02-01 07:14 | hgbot | Status | scheduled => closed | 
| 2021-02-01 07:14 | hgbot | Note Added: 0125901 |  | 
| 2021-02-01 07:14 | hgbot | Note Added: 0125902 |  |