Add checks for args depending on auction kind

This commit is contained in:
IshaVenikar committed 2024-09-19 13:39:33 +05:30
1 parent da744f3766
commit b18314eef4
3 files changed
+54 -26

No files matched your search

+3
View File
@@ -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);