Small clarification, the tests aren't on the DB queries alone. Like it spins up a test backend, calls some API endpoints to seed the DB, then calls some others to test their behavior. It's not specifically looking for type problems, but those would easily cause test failures too (e.g. I sign up a user named "Bob" and his name comes back as "undefined").
Ah, in that case, I'm much less interested :D , because that would mean that you let the untypedness of the DB queries propagate through pretty much the entire codebase.
I'm a type-safety kind of guy, but this argument (that time spent "fighting" the type system) is better spent writing tests when it comes to DB queries, has me very very curious. Would love others' opinions/experience on this!