#How can i perform e2e test with nest-transact

1 messages · Page 1 of 1 (latest)

gloomy basin
#

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?

gloomy basin
#

:((