Skip to content

Commit 49e9a89

Browse files
committed
fix lint and tests
1 parent 9b49596 commit 49e9a89

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

packages/transaction-controller/src/TransactionController.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7131,8 +7131,6 @@ describe('TransactionController', () => {
71317131
});
71327132
});
71337133

7134-
7135-
71367134
describe('updateAtomicBatchData', () => {
71377135
/**
71387136
* Template for updateAtomicBatchData test.

packages/transaction-controller/src/TransactionController.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3132,9 +3132,7 @@ export class TransactionController extends BaseController<
31323132

31333133
if (networkAtTimestampSet.has(key)) {
31343134
return true;
3135-
} else if (
3136-
networkAtTimestampSet.size < this.#transactionHistoryLimit
3137-
) {
3135+
} else if (networkAtTimestampSet.size < this.#transactionHistoryLimit) {
31383136
networkAtTimestampSet.add(key);
31393137
return true;
31403138
}

packages/transaction-controller/src/utils/batch.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import {
2222
type TransactionMeta,
2323
determineTransactionType,
2424
TransactionType,
25-
TransactionStatus,
2625
} from '..';
2726
import { flushPromises } from '../../../../tests/helpers';
2827
import type { PublishBatchHook } from '../types';
@@ -1124,7 +1123,6 @@ describe('Batch Utils', () => {
11241123
await flushPromises();
11251124

11261125
await expect(publishHookPromise1).rejects.toThrow(ERROR_MESSAGE_MOCK);
1127-
11281126
});
11291127
});
11301128
});

packages/transaction-controller/src/utils/batch.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ import {
4545
type TransactionBatchResult,
4646
type TransactionParams,
4747
TransactionType,
48-
TransactionStatus,
4948
} from '../types';
5049

5150
type AddTransactionBatchRequest = {

0 commit comments

Comments
 (0)