Skip to content

Commit 83734c5

Browse files
author
Victor Wiebe
committed
fix: there is a seperate test for refresh refactor
1 parent 0229cc0 commit 83734c5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/procedures/__tests__/MintTokens.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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 () => {

0 commit comments

Comments
 (0)