Typeorm: Transactions wrapping tests

Created on 29 May 2017  路  3Comments  路  Source: typeorm/typeorm

Noob question here.

Any example on how to use typeORM with mocha/ava/jest.... wrapping each test case in a transaction using async/await?

question

Most helpful comment

@banduk I have the same issue. Please let us know if you find something out.

All 3 comments

nope there is not examples I can provide. You have to figure out those things on your own. Once typeorm go stable and all features will be finished I'll get some time to provide tools to use them in tests.

closing this for now

@banduk I have the same issue. Please let us know if you find something out.

Was this page helpful?
0 / 5 - 0 ratings