When writing unit tests for a component that uses a Material Slider and depends on HammerJS for it, I'm seeing this error WARN LOG: 'The "slide" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified.'
I've made the import and added the provider for the dependency:
import { BrowserModule, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';
But still I get the same error on every test. How do I resolve this dependency?