Skip to content

Commit

Permalink
test(transactional): fix test on Propagation.Never
Browse files Browse the repository at this point in the history
  • Loading branch information
Papooch committed Jul 26, 2024
1 parent 06a8ec3 commit b854284
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/transactional/test/propagation.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,7 @@ describe('Propagation', () => {
it('should not start a transaction in NEVER mode', async () => {
await withoutTx.neverPropagation();
const queries = mockDbConnection.getClientsQueries();
expect(queries).toEqual([
['SELECT 11'],
['BEGIN TRANSACTION;', 'SELECT 12', 'COMMIT TRANSACTION;'],
]);
expect(queries).toEqual([['SELECT 11'], ['SELECT 12']]);
});
});

Expand Down

0 comments on commit b854284

Please sign in to comment.