This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/minter-contracts/test/auction Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ describe('test NFT auction', () => {
124
124
125
125
$log . info ( `Eve bids 11tz, a 10% raise of previous bid but less than a 10tz increase` ) ;
126
126
const opBid2 = nftAuctionEve . methods . bid ( 0 ) . send ( { amount : 11 } ) ;
127
- return expect ( opBid2 ) . rejects . toHaveProperty ( 'message' , 'INVALID_BID_AMOUNT' ) ;
127
+ await expect ( opBid2 ) . rejects . toHaveProperty ( 'message' , 'INVALID_BID_AMOUNT' ) ;
128
128
} ) ;
129
129
test ( 'place bid meeting opening price and then raise it by valid amount by min_raise but not min_raise_percent' , async ( ) => {
130
130
$log . info ( `Alice bids 200tz` ) ;
@@ -134,7 +134,7 @@ describe('test NFT auction', () => {
134
134
135
135
$log . info ( `Eve bids 210tz, a 10tz increase but less than a 10% raise of previous bid ` ) ;
136
136
const opBid2 = nftAuctionEve . methods . bid ( 0 ) . send ( { amount : 210 } ) ;
137
- return expect ( opBid2 ) . rejects . toHaveProperty ( 'message' , 'INVALID_BID_AMOUNT' ) ;
137
+ await expect ( opBid2 ) . rejects . toHaveProperty ( 'message' , 'INVALID_BID_AMOUNT' ) ;
138
138
} ) ;
139
139
test ( 'bid too small should fail' , async ( ) => {
140
140
$log . info ( `Alice bids 20tz` ) ;
You can’t perform that action at this time.
0 commit comments