File tree Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Expand file tree Collapse file tree 2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change
1
+ import { BigNumber } from '@polymathnetwork/contract-wrappers' ;
1
2
import { SecurityToken } from '../SecurityToken' ;
2
3
import { Context } from '../../Context' ;
3
4
@@ -6,13 +7,25 @@ const params1 = {
6
7
name : 'Test Token 1' ,
7
8
address : '0x1' ,
8
9
owner : '0x3' ,
10
+ tokenDetails : 'details' ,
11
+ version : [ new BigNumber ( 1 ) ] ,
12
+ granularity : 3 ,
13
+ totalSupply : new BigNumber ( 1000 ) ,
14
+ currentCheckpoint : 2 ,
15
+ treasuryWallet : '0x3' ,
9
16
} ;
10
17
11
18
const params2 = {
12
19
symbol : 'TEST2' ,
13
20
name : 'Test Token 2' ,
14
21
address : '0x2' ,
15
22
owner : '0x4' ,
23
+ tokenDetails : 'details2' ,
24
+ version : [ new BigNumber ( 1 ) ] ,
25
+ granularity : 3 ,
26
+ totalSupply : new BigNumber ( 1000 ) ,
27
+ currentCheckpoint : 2 ,
28
+ treasuryWallet : '0x3' ,
16
29
} ;
17
30
18
31
const context = { } as Context ;
Original file line number Diff line number Diff line change 1
1
import * as sinon from 'sinon' ;
2
2
import { ImportMock , MockManager } from 'ts-mock-imports' ;
3
+ import { BigNumber } from '@polymathnetwork/contract-wrappers' ;
3
4
import * as contextModule from '../../Context' ;
4
5
import * 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' ;
8
8
import { SecurityToken } from '../SecurityToken' ;
9
9
10
10
const params1 = {
11
11
symbol : 'TEST1' ,
12
12
name : 'Test Token 1' ,
13
13
address : '0x1' ,
14
14
owner : '0x3' ,
15
+ tokenDetails : 'details' ,
16
+ version : [ new BigNumber ( 1 ) ] ,
17
+ granularity : 3 ,
18
+ totalSupply : new BigNumber ( 1000 ) ,
19
+ currentCheckpoint : 2 ,
20
+ treasuryWallet : '0x3' ,
15
21
} ;
16
22
17
23
describe ( 'Shareholders' , ( ) => {
You can’t perform that action at this time.
0 commit comments