File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 3535 "postgres:dev:migration:run" : " source ./postgres.dev.config && yarn postgres migration:run" ,
3636 "postgres:dev:migration:revert" : " source ./postgres.dev.config && yarn postgres migration:revert" ,
3737 "postgres:migration:run" : " yarn postgres migration:run" ,
38- "docker:build" : " docker build -t polymeshassociation/polymesh-rest-api:local ." ,
39- "docker:build:no-cache" : " docker build --no-cache -t polymeshassociation/polymesh-rest-api:local ."
38+ "docker:build" : " yarn build && docker build -t polymeshassociation/polymesh-rest-api:local ." ,
39+ "docker:build:no-cache" : " yarn build && docker build --no-cache -t polymeshassociation/polymesh-rest-api:local ."
4040 },
4141 "dependencies" : {
4242 "@golevelup/ts-jest" : " 0.3.3" ,
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export class DeveloperTestingService {
7878 const initialPolyxCalls = accounts
7979 . filter ( ( { initialPolyx } ) => initialPolyx . gt ( 0 ) )
8080 . map ( ( { address, initialPolyx } ) =>
81- balances . transferWithMemo ( address , initialPolyx . toNumber ( ) * unitsPerPolyx , 'Initial Polyx' )
81+ balances . transfer ( address , initialPolyx . toNumber ( ) * unitsPerPolyx )
8282 ) ;
8383
8484 await this . polymeshService . execTransaction ( signerAddress , utility . batchAll , [
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ export class MockPolymesh {
145145 public _polkadotApi = {
146146 tx : {
147147 balances : {
148+ transfer : jest . fn ( ) ,
148149 transferWithMemo : jest . fn ( ) ,
149150 setBalance : jest . fn ( ) ,
150151 } ,
@@ -164,6 +165,7 @@ export class MockPolymesh {
164165 } ) ,
165166 } ,
166167 utility : {
168+ batch : jest . fn ( ) ,
167169 batchAll : jest . fn ( ) ,
168170 } ,
169171 } ,
You canβt perform that action at this time.
0 commit comments