File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ import { BigNumber } from '@polymathnetwork/contract-wrappers' ;
12import { SecurityToken } from '../SecurityToken' ;
23import { Context } from '../../Context' ;
34
@@ -6,13 +7,25 @@ const params1 = {
67 name : 'Test Token 1' ,
78 address : '0x1' ,
89 owner : '0x3' ,
10+ tokenDetails : 'details' ,
11+ version : [ new BigNumber ( 1 ) ] ,
12+ granularity : 3 ,
13+ totalSupply : new BigNumber ( 1000 ) ,
14+ currentCheckpoint : 2 ,
15+ treasuryWallet : '0x3' ,
916} ;
1017
1118const params2 = {
1219 symbol : 'TEST2' ,
1320 name : 'Test Token 2' ,
1421 address : '0x2' ,
1522 owner : '0x4' ,
23+ tokenDetails : 'details2' ,
24+ version : [ new BigNumber ( 1 ) ] ,
25+ granularity : 3 ,
26+ totalSupply : new BigNumber ( 1000 ) ,
27+ currentCheckpoint : 2 ,
28+ treasuryWallet : '0x3' ,
1629} ;
1730
1831const context = { } as Context ;
Original file line number Diff line number Diff line change 11import * as sinon from 'sinon' ;
22import { ImportMock , MockManager } from 'ts-mock-imports' ;
3+ import { BigNumber } from '@polymathnetwork/contract-wrappers' ;
34import * as contextModule from '../../Context' ;
45import * as createCheckpointProcedure from '../../procedures/CreateCheckpoint' ;
5-
6- import { Shareholders } from '~/entities/SecurityToken/Shareholders' ;
7- import { SubModule } from '~/entities/SecurityToken/SubModule' ;
6+ import { Shareholders } from '../../entities/SecurityToken/Shareholders' ;
7+ import { SubModule } from '../../entities/SecurityToken/SubModule' ;
88import { SecurityToken } from '../SecurityToken' ;
99
1010const params1 = {
1111 symbol : 'TEST1' ,
1212 name : 'Test Token 1' ,
1313 address : '0x1' ,
1414 owner : '0x3' ,
15+ tokenDetails : 'details' ,
16+ version : [ new BigNumber ( 1 ) ] ,
17+ granularity : 3 ,
18+ totalSupply : new BigNumber ( 1000 ) ,
19+ currentCheckpoint : 2 ,
20+ treasuryWallet : '0x3' ,
1521} ;
1622
1723describe ( 'Shareholders' , ( ) => {
You can’t perform that action at this time.
0 commit comments