You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is this issue currently blocking your project? (yes/no): Yes
is this issue affecting a production system? (yes/no): yes
Context
node version: 18.16.0
module version: 24.0.0
environment (e.g. node, browser, native): node(test cases are failing when we run yarn test coverage command)
used with (e.g. hapi application, another framework, standalone, ...): hapi library used
any other relevant information: Nodejs with hapi library. Webpack used to build the package.
How can we help?
Hi Team,
In our application earlier we were using node 16.20.0 with webpack 4 and hapi libraries used for multiple purpose and hapi lab(24.0.0) used for unit test cases. We have a babel config file(transform.js) like shown in the code snippet used in our package json script
### PROBLEM:
Now we have upgraded our application from node 16.20.0 to node 18.16.0 and upgraded webpack 4 to webpack 5. Now after this upgrade, when we run the script test-lab-cov. It throws the following errors like shown in screenshots. I tried upgrading minor versions of hapi lab libraries, babel core, babel eslint etc but still the error is not resolved.
Can anyone please let me know where its going wrong and how can we fix this to work hapi lab with node 18.16.0?
Pls advise if you have any suggestions.
Thanks
The text was updated successfully, but these errors were encountered:
Support plan
Context
How can we help?
Hi Team,
In our application earlier we were using node 16.20.0 with webpack 4 and hapi libraries used for multiple purpose and hapi lab(24.0.0) used for unit test cases. We have a babel config file(transform.js) like shown in the code snippet used in our package json script
package.json script:
"test-lab-cov": "lab -T test/.transform.js test/.setup.js ./**/.test. -S -v -t 87 -r console -o stdout -r lcov -o test-coverage/lab/lcov.info -r html -o test-coverage/lab/unit-test.html -r junit -o test-results/lab/unit-test.xml -I version -l",
### PROBLEM:
Now we have upgraded our application from node 16.20.0 to node 18.16.0 and upgraded webpack 4 to webpack 5. Now after this upgrade, when we run the script test-lab-cov. It throws the following errors like shown in screenshots. I tried upgrading minor versions of hapi lab libraries, babel core, babel eslint etc but still the error is not resolved.
Can anyone please let me know where its going wrong and how can we fix this to work hapi lab with node 18.16.0?
Pls advise if you have any suggestions.
Thanks
The text was updated successfully, but these errors were encountered: