@@ -4,7 +4,7 @@ import { arc4, Bytes, Global, Uint64 } from '@algorandfoundation/algorand-typesc
44import { TestExecutionContext } from '@algorandfoundation/algorand-typescript-testing'
55import { DynamicArray , methodSelector } from '@algorandfoundation/algorand-typescript/arc4'
66import { encodingUtil } from '@algorandfoundation/puya-ts'
7- import { afterEach , beforeAll , describe , expect } from 'vitest'
7+ import { afterEach , describe , expect } from 'vitest'
88import { toBytes } from '../../src/impl/encoded-types/encoded-types'
99import { encodeAddress } from '../../src/impl/reference'
1010import { AnotherStruct , MyStruct , SignaturesContract } from '../artifacts/arc4-abi-method/contract.algo'
@@ -15,17 +15,16 @@ const _FUNDED_ACCOUNT_SPENDING = Uint64(1234)
1515
1616describe ( 'methodSelector' , async ( ) => {
1717 const ctx = new TestExecutionContext ( )
18- const [ test , localnetFixture ] = createArc4TestFixture ( 'tests/artifacts/arc4-abi-method/contract.algo.ts' , {
19- SignaturesContract : {
20- deployParams : { createParams : { extraProgramPages : undefined , method : 'create' } } ,
21- funding : new AlgoAmount ( { microAlgos : Global . minBalance + _FUNDED_ACCOUNT_SPENDING } ) ,
18+ const test = createArc4TestFixture ( {
19+ path : 'tests/artifacts/arc4-abi-method/contract.algo.ts' ,
20+ contracts : {
21+ SignaturesContract : {
22+ deployParams : { createParams : { extraProgramPages : undefined , method : 'create' } } ,
23+ funding : new AlgoAmount ( { microAlgos : Global . minBalance + _FUNDED_ACCOUNT_SPENDING } ) ,
24+ } ,
2225 } ,
2326 } )
2427
25- beforeAll ( async ( ) => {
26- await localnetFixture . newScope ( )
27- } )
28-
2928 afterEach ( ( ) => {
3029 ctx . reset ( )
3130 } )
0 commit comments