getting a typescript error when trying to use drizzle.mock()
I'm trying to mock my drizzle driver for some unit tests. I'm using
I tried to modify the property, to have a null pool, but I get another error telling me that type Pool isn't compatible with the prop's type.
how do I mock the driver? I've been at it for the past couple of days and am super confused
drizzle.mock(). When I pass it into the function that takes it, I get the following error:I tried to modify the property, to have a null pool, but I get another error telling me that type Pool isn't compatible with the prop's type.
how do I mock the driver? I've been at it for the past couple of days and am super confused