Add checks for args depending on auction kind
This commit is contained in:
1 parent
da744f3766
commit
b18314eef4
3 files changed
+54
-26
No files matched your search
@@ -16,6 +16,9 @@ export const AUCTION_FEES = {
|
||||
export const AUCTION_COMMIT_DURATION = 60; // 60s
|
||||
export const AUCTION_REVEAL_DURATION = 60; // 60s
|
||||
|
||||
export const AUCTION_KIND_VICKREY = 'vickrey';
|
||||
export const AUCTION_KIND_PROVIDER = 'provider';
|
||||
|
||||
export function checkResultAndRetrieveOutput (result: SpawnSyncReturns<Buffer>): any {
|
||||
expect(result.status).toBe(0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user