Unit test with Storage

I’m trying to add storage to my unit test, but in the console it complains that there is no provider for Storage.
So I added Storage to the provider and then it complains about
Can't resolve all parameters for Storage

Then I replaced it with
{ provide: Storage, useClass: StorageMock }, but this has no affect.

Anyone creating unit tests with
import {Storage} from '@ionic/storage'; ?

This is what I use for testing stuff that uses Storage.