Skip to content

Commit 0fe6ccd

Browse files
committed
addressing pr comments
1 parent a7bdd3c commit 0fe6ccd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/core/src/transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class Transaction {
160160
this._onError(error).catch(() => {})
161161
})
162162
// It should make the transaction active anyway
163-
// futher errors will be treated by the exiting
163+
// further errors will be treated by the existing
164164
// observers
165165
.finally(() => this._acceptActive())
166166
}
@@ -369,7 +369,7 @@ const _states = {
369369
}: StateTransitionParams
370370
): any => {
371371
// RUN in explicit transaction can't contain bookmarks and transaction configuration
372-
// No need to include mode and database name as it shall be inclued in begin
372+
// No need to include mode and database name as it shall be included in begin
373373
const requirements = preparationJob ?? Promise.resolve()
374374

375375
const observerPromise =

packages/core/test/transaction.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ function testTx<T extends Transaction> (transactionName: string, newTransaction:
353353
expect(result._watermarks).toEqual({ high: 700, low: 300 })
354354
})
355355

356-
it('should wait begin message be send', async () => {
356+
it('should wait begin message be sent', async () => {
357357
const connection = newFakeConnection()
358358
const tx = newTransaction({
359359
connection
@@ -406,7 +406,7 @@ function testTx<T extends Transaction> (transactionName: string, newTransaction:
406406
}
407407
})
408408

409-
it('should wait begin message be send', async () => {
409+
it('should wait begin message be sent', async () => {
410410
const connection = newFakeConnection()
411411
const tx = newTransaction({
412412
connection

0 commit comments

Comments
 (0)