()
| 32 | } |
| 33 | |
| 34 | async function trans3() { |
| 35 | return await sequelize.transaction(async transaction => { |
| 36 | transaction.afterCommit(() => console.log('transaction complete')); |
| 37 | User.findAll( |
| 38 | { |
| 39 | transaction, |
| 40 | lock: true, |
| 41 | } |
| 42 | ); |
| 43 | return 1; |
| 44 | }); |
| 45 | } |
| 46 | |
| 47 | async function trans4() { |
| 48 | return await sequelize.transaction(async transaction => { |
nothing calls this directly
no test coverage detected