I am currently writing some units test for some Angular components that make use of Angular Material. The issue I am having now is I keep getting the following warnings when running the unit tests.
console.warn node_modules\@angular\material\bundles\material.umd.js:183
Current document does not have a doctype. This may cause some Angular Material components not to behave as expected.
console.warn node_modules\@angular\material\bundles\material.umd.js:196
Could not find Angular Material core theme. Most Material components may not work as expected. For more info refer to the theming guide: https://material.ang
ular.io/guide/theming
console.warn node_modules\@angular\material\bundles\material.umd.js:3327
Could not find HammerJS. Certain Angular Material components may not work correctly.
Is it normal to see these warnings? Any ideas on how to suppress these warnings as I don't see them really relevant to unit testing?