File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,6 @@ describe('MintTokens', () => {
176176 address : testAddress ,
177177 } ;
178178 const fetchStub = shareholderFactoryMock . mock ( 'fetch' , Promise . resolve ( shareholderObject ) ) ;
179- const refreshStub = securityTokenEntityStaticMock . mock ( 'refresh' , Promise . resolve ( ) ) ;
180179
181180 // Real call
182181 const resolver = await target . prepareTransactions ( ) ;
@@ -201,11 +200,6 @@ describe('MintTokens', () => {
201200 )
202201 ) . toEqual ( true ) ;
203202 expect ( fetchStub . callCount ) . toBe ( 2 ) ;
204-
205- // Verification for fetch
206- expect ( refreshStub . getCall ( 0 ) . calledWithExactly ( securityTokenId ) ) . toEqual ( true ) ;
207- expect ( refreshStub . getCall ( 1 ) . calledWithExactly ( securityTokenId ) ) . toEqual ( true ) ;
208- expect ( refreshStub . callCount ) . toBe ( 2 ) ;
209203 } ) ;
210204
211205 test ( 'should refresh the security token factory with resolver' , async ( ) => {
You can’t perform that action at this time.
0 commit comments