[FOLIO-3540] Github Actions: The yarn test step fails on updgrading Node to version 16 LTS in ui-finance Created: 12/Jul/22  Updated: 13/Jul/22  Resolved: 13/Jul/22

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Task Priority: TBD
Reporter: Ankita Sen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:
Development Team: Thunderjet
RCA Group: TBD

 Description   

 

On upgrading Node to v16 LTS in Github Actions pipeline the yarn test step fails with the following error log:

 

/home/runner/work/ui-finance/ui-finance/node_modules/@***/stripes-acq-components/lib/utils/getAmountWithCurrency.js:11
1170  return Intl.NumberFormat(locale, {
1171              ^
11721173TypeError: Currency code is required with currency style.
1174    at Intl.NumberFormat (<anonymous>)
1175    at getAmountWithCurrency (/home/runner/work/ui-finance/ui-finance/node_modules/@***/stripes-acq-components/lib/utils/getAmountWithCurrency.js:11:15)
1176    at _callee$ (/home/runner/work/ui-finance/ui-finance/src/Transactions/CreateTransaction/CreateTransactionContainer.js:734:37)
1177    at tryCatch (/home/runner/work/ui-finance/ui-finance/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:86:17)
1178    at Generator._invoke (/home/runner/work/ui-finance/ui-finance/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:66:24)
1179    at Generator.next (/home/runner/work/ui-finance/ui-finance/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:117:21)
1180    at asyncGeneratorStep (/home/runner/work/ui-finance/ui-finance/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
1181    at _next (/home/runner/work/ui-finance/ui-finance/node_modules/@babel/runtime/helpers/asyncToGenerator.js:25:9)
1182error Command failed with exit code 1.
1183info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1184error Command failed with exit code 1.
1185info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1186Error: Process completed with exit code 1. 

The detailed test error logs can be found here

 



 Comments   
Comment by Ankita Sen [ 13/Jul/22 ]

Issue was created in wrong project. Correct issue is created here UIF-400 Closed

Generated at Thu Feb 08 23:28:53 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.