angularexample

Results comments of angularexample

Here are 2 ways to make mdsidenav responsive automatically. 1. You can bind to the window resize event and open or close the sidenav by doing everything in the template:...

Another workaround is to lower the jest version from 30 to 29.5 as follows: ``` "@types/jest": "^29.5.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "jest-preset-angular": "~14.6.1", "jest-util": "^29.5.0", ```

You can use highest version of rspack under 1.5, which is 1.4.11 Add this to package.json devDependencies: ``` "@rspack/core": "1.4.11", ```

FYI, Here is the issue on StackExchange. https://stackoverflow.com/questions/79747187/serving-a-new-nx-angular-throws-an-error-related-to-compiler/79750755#79750755

As was noted, overrideSelector cannot be used on a selector with parameters. Instead, use a spy with a mock return value. Here is an example using Jest. You may need...