Skip to content

Commit

Permalink
fix: Updated fixture to newScope and fixed description assertion values
Browse files Browse the repository at this point in the history
  • Loading branch information
lempira committed Jan 20, 2025
1 parent ce6bc97 commit 64c8239
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { getByRole } from '@testing-library/react'

describe('create-app-interface', () => {
const localnet = algorandFixture()
beforeEach(localnet.beforeEach, 10e6)
beforeEach(localnet.newScope, 10e6)
afterEach(() => {
vitest.clearAllMocks()
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe('application-method-definitions', () => {
const localnet = algorandFixture()
let appId: ApplicationId

beforeEach(localnet.beforeEach, 10e6)
beforeEach(localnet.newScope, 10e6)
afterEach(() => {
vitest.clearAllMocks()
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('application-page on localnet', () => {
vitest.clearAllMocks()
})

beforeEach(localnet.beforeEach, 10e6)
beforeEach(localnet.newScope, 10e6)
afterEach(() => {
vitest.clearAllMocks()
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { groupSendResultsLabel } from './components/group-send-results'

describe('transaction-wizard-page', () => {
const localnet = algorandFixture()
beforeEach(localnet.beforeEach, 10e6)
beforeEach(localnet.newScope, 10e6)
afterEach(() => {
vitest.clearAllMocks()
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const renderTxnsWizardPageWithSearchParams = ({ searchParams }: { searchParams:

describe('Render transactions page with search params', () => {
const localnet = algorandFixture()
beforeEach(localnet.beforeEach, 10e6)
beforeEach(localnet.newScope, 10e6)
afterEach(() => {
vitest.clearAllMocks()
})
Expand Down
4 changes: 2 additions & 2 deletions src/features/transactions/pages/transaction-page.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1589,8 +1589,8 @@ describe('when rendering a heartbeat transaction', () => {
{ term: transactionTimestampLabel, description: 'Sun, 24 December 2023 17:37:51' },
{ term: transactionBlockLabel, description: '1000' },
{ term: transactionFeeLabel, description: '0.001' },
{ term: transactionSenderLabel, description: 'HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW' },
{ term: heartbeatAddressLabel, description: 'HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW' },
{ term: transactionSenderLabel, description: 'GAU5WA6DT2EPFS6LKOA333BQP67NXIHZ7JPOOHMZWJDPZRL4XMHDDDUCKA' },
{ term: heartbeatAddressLabel, description: '3WPMTZURXXNEB6CWHGHXQUSESVHYE3HK4G4XDW475BWSZBAUTW5YR7CY4E' },
],
})
})
Expand Down

0 comments on commit 64c8239

Please sign in to comment.