Jestjs - FluentUI - suppress "The icon 'X' was used but not registered" warning

Viewed 930

I'm writing a react app that uses fluentUI.

while working on the system everything is fine (ofc I'm calling initializeIcons() function). however, when I'm running my test using jest, I keep getting the warning about 100 times, causing the output to be very messy and not understandable

how can i suppress the warning (even temporarily)?

1 Answers
Related