I want to perform and e2e test without database connection, how can i mock the nest transact?
For example @Get() async getInfo() { return this.connection.transaction(manager => { return this.infoService.withTransaction(manager, { excluded: [CacheService] }).getInfo(); }); }
How can i run the getInfo() and ingnore everything else?