Skip to content

Commit e9ed0c2

Browse files
bigmontzfbiville
andauthored
Apply suggestions from code review
Co-authored-by: Florent Biville <445792+fbiville@users.noreply.github.com>
1 parent 01718ec commit e9ed0c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/test/session.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ describe('session', () => {
300300
expect(status.functionCalled).toEqual(true)
301301
})
302302

303-
it('should proxy run to the begined transaction', async () => {
303+
it('should proxy run to the begun transaction', async () => {
304304
const connection = mockBeginWithSuccess(newFakeConnection())
305305
const session = newSessionWithConnection(connection, false, FETCH_ALL)
306306
// @ts-ignore
@@ -318,7 +318,7 @@ describe('session', () => {
318318
expect(run).toHaveBeenCalledWith(query, params)
319319
})
320320

321-
it('should proxy isOpen to the begined transaction', async () => {
321+
it('should proxy isOpen to the begun transaction', async () => {
322322
const connection = mockBeginWithSuccess(newFakeConnection())
323323
const session = newSessionWithConnection(connection, false, FETCH_ALL)
324324
const isOpen = jest.spyOn(Transaction.prototype, 'isOpen').mockImplementationOnce(() => true)

0 commit comments

Comments
 (0)