IgniteUI / igniteui-cli

Ignite UI Command-Line Interface by Infragistics
https://bit.ly/2L19rhp
MIT License
118 stars 4 forks source link

React test are not passing #1266

Closed wnvko closed 2 months ago

wnvko commented 3 months ago

Description

Test in react application are failing.

Steps to reproduce

  1. Create new project via call to ig and set name for the new project.
  2. Choose React for framework.
  3. Choose Ignite UI for React TS for project type.
  4. Choose Default top navigation for project template.
  5. Install npm packages.
  6. Run tests on the generated application.

Result

Test is failing with TypeError: Cannot destructure property 'basename' of 'useContext(...)' as it is null. error.

Expected result

Tests should pass.