Aliheym / typeorm-transactional

A Transactional Method Decorator for TypeORM that uses Async Local Storage or cls-hooked to handle and propagate transactions between different repositories and service methods.
MIT License
213 stars 28 forks source link

refactor: improve the tests for all use cases #44

Closed Aliheym closed 1 year ago

Aliheym commented 1 year ago

Updated most of the tests to include checks for TypeORM entities: DataSource, Entity Manager, Repository/Custom Repository, Query Builder. I also improved the structure of tests.