Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronfigueiredo committed Sep 22, 2023
1 parent e24ad0e commit 0f99b9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/scripts/controllers/transactions/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3426,7 +3426,7 @@ describe('Transaction Controller', function () {
});
});

it.only('ignores new transactions if hash matches existing incoming transaction', async function () {
it('ignores new transactions if hash matches existing incoming transaction', async function () {
const existingTransaction = {
...TRANSACTION_META_MOCK,
id: 1,
Expand All @@ -3435,6 +3435,7 @@ describe('Transaction Controller', function () {
const existingTransaction2 = {
...TRANSACTION_META_MOCK,
id: 2,
hash: '0xNewHash',
type: TransactionType.simpleSend,
};

Expand Down Expand Up @@ -3463,6 +3464,7 @@ describe('Transaction Controller', function () {
assert.deepEqual(txController.store.getState().transactions, {
[existingTransaction.id]: existingTransaction,
[existingTransaction2.id]: existingTransaction2,
[incomingTransaction2.id]: incomingTransaction2,
});
});
});
Expand Down

0 comments on commit 0f99b9a

Please sign in to comment.