Skip to content

Commit

Permalink
test: update for refactors
Browse files Browse the repository at this point in the history
  • Loading branch information
BZahory committed Aug 22, 2024
1 parent 71ca4b6 commit 1db56f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ describe('UserOperationController', () => {
smartContractAccount,
swaps: {
approvalTxId: 'testTxId',
approvalTxParams: { data: { from: 'from' } },
approvalTx: { data: { from: 'from' } },
destinationTokenAmount: '0x1',
destinationTokenAddress: '0x1',
destinationTokenDecimals: 3,
Expand All @@ -446,7 +446,7 @@ describe('UserOperationController', () => {
expect.objectContaining({
swapsMetadata: {
approvalTxId: 'testTxId',
approvalTxParams: { data: { from: 'from' } },
approvalTx: { data: { from: 'from' } },
destinationTokenAmount: '0x1',
destinationTokenAddress: '0x1',
destinationTokenDecimals: 3,
Expand Down Expand Up @@ -482,7 +482,7 @@ describe('UserOperationController', () => {
expect.objectContaining({
swapsMetadata: {
approvalTxId: null,
approvalTxParams: null,
approvalTx: null,
destinationTokenAddress: null,
destinationTokenAmount: null,
destinationTokenDecimals: null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ describe('transation', () => {
...USER_OPERATION_METADATA_MOCK,
swapsMetadata: {
approvalTxId: 'testTxId',
approvalTxParams: { test: 'value' },
approvalTx: { test: 'value' },
destinationTokenAddress: '0x2',
destinationTokenDecimals: '3',
destinationTokenSymbol: 'TEST',
Expand All @@ -275,7 +275,7 @@ describe('transation', () => {
expect(transactionMetadata).toStrictEqual(
expect.objectContaining({
approvalTxId: 'testTxId',
approvalTxParams: { test: 'value' },
approvalTx: { test: 'value' },
destinationTokenAddress: '0x2',
destinationTokenDecimals: '3',
destinationTokenSymbol: 'TEST',
Expand Down

0 comments on commit 1db56f5

Please sign in to comment.