Skip to content

Commit

Permalink
fix: add shareholder factory mock instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Wiebe committed Oct 28, 2019
1 parent f2e0b30 commit ec5554c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/procedures/__tests__/MintTokens.ts
Expand Up @@ -135,6 +135,7 @@ describe('MintTokens', () => {
securityTokenEntityMock.mock('shareholders', shareholdersEntityMock.getMockInstance());
securityTokenFactoryMock.mock('fetch', securityTokenFactoryMock.getMockInstance());
factoryMockSetup.securityTokenFactory = securityTokenFactoryMock.getMockInstance();
factoryMockSetup.shareholderFactory = shareholderFactoryMock.getMockInstance();
contextMock.set('factories', factoryMockSetup);

// Instantiate MintTokens
Expand Down

0 comments on commit ec5554c

Please sign in to comment.