https://bobstrollergrandsale.blogspot.com/2023/09/how-to-stubmock-submodules-of-require.html
How To Stub/mock Submodules Of A Require Of Nodejs Using Sinon