Skip to content

Commit a0c6d17

Browse files
committed
fix: Updated fixture to newScope and fixed description assertion values
1 parent ce6bc97 commit a0c6d17

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

src/features/app-interfaces/pages/create-app-interface-page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import { getByRole } from '@testing-library/react'
1717

1818
describe('create-app-interface', () => {
1919
const localnet = algorandFixture()
20-
beforeEach(localnet.beforeEach, 10e6)
20+
beforeEach(localnet.newScope, 10e6)
2121
afterEach(() => {
2222
vitest.clearAllMocks()
2323
})

src/features/applications/components/application-method-definitions.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ describe('application-method-definitions', () => {
3232
const localnet = algorandFixture()
3333
let appId: ApplicationId
3434

35-
beforeEach(localnet.beforeEach, 10e6)
35+
beforeEach(localnet.newScope, 10e6)
3636
afterEach(() => {
3737
vitest.clearAllMocks()
3838
})

src/features/applications/pages/application-page-localnet.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ describe('application-page on localnet', () => {
2020
vitest.clearAllMocks()
2121
})
2222

23-
beforeEach(localnet.beforeEach, 10e6)
23+
beforeEach(localnet.newScope, 10e6)
2424
afterEach(() => {
2525
vitest.clearAllMocks()
2626
})

src/features/transaction-wizard/transaction-wizard-page.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { groupSendResultsLabel } from './components/group-send-results'
1212

1313
describe('transaction-wizard-page', () => {
1414
const localnet = algorandFixture()
15-
beforeEach(localnet.beforeEach, 10e6)
15+
beforeEach(localnet.newScope, 10e6)
1616
afterEach(() => {
1717
vitest.clearAllMocks()
1818
})

src/features/transaction-wizard/utils/transactions-url-search-params.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ const renderTxnsWizardPageWithSearchParams = ({ searchParams }: { searchParams:
2727

2828
describe('Render transactions page with search params', () => {
2929
const localnet = algorandFixture()
30-
beforeEach(localnet.beforeEach, 10e6)
30+
beforeEach(localnet.newScope, 10e6)
3131
afterEach(() => {
3232
vitest.clearAllMocks()
3333
})
3434
describe('key registration search params', () => {
3535
beforeEach(() => {})
3636

37-
it('should render offline key registration', () => {
37+
it.only('should render offline key registration', () => {
3838
const sender = 'I3345FUQQ2GRBHFZQPLYQQX5HJMMRZMABCHRLWV6RCJYC6OO4MOLEUBEGU'
3939
renderTxnsWizardPageWithSearchParams({
4040
searchParams: new URLSearchParams({

src/features/transactions/pages/transaction-page.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1589,8 +1589,8 @@ describe('when rendering a heartbeat transaction', () => {
15891589
{ term: transactionTimestampLabel, description: 'Sun, 24 December 2023 17:37:51' },
15901590
{ term: transactionBlockLabel, description: '1000' },
15911591
{ term: transactionFeeLabel, description: '0.001' },
1592-
{ term: transactionSenderLabel, description: 'HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW' },
1593-
{ term: heartbeatAddressLabel, description: 'HEARTBEATADDRESS123456789ABCDEFGHIJKLMNOPQRSTUVW' },
1592+
{ term: transactionSenderLabel, description: 'GAU5WA6DT2EPFS6LKOA333BQP67NXIHZ7JPOOHMZWJDPZRL4XMHDDDUCKA' },
1593+
{ term: heartbeatAddressLabel, description: '3WPMTZURXXNEB6CWHGHXQUSESVHYE3HK4G4XDW475BWSZBAUTW5YR7CY4E' },
15941594
],
15951595
})
15961596
})

0 commit comments

Comments
 (0)