I can't mock the query because it's a method on a class instance, and the mocking library doesn't work right with ES2016 classes. I can't replace the require because it's using the new ECMAScript modules and not common.js require(). I can't mock the HTTP requests because it's not being done with the older http.request but with fetch, which as of node v18 is now native and not backed by a http.request polyfill