This repository has been archived by the owner on Apr 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global.d.ts
42 lines (41 loc) · 1.56 KB
/
global.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
declare global {
namespace Vi {
interface Assertion {
notToBeValidator(expected: StateStore)
toBeBuffer()
toBeBytes()
toBeFalse()
toBeMissingAttribute(expected: { attribute: string; state: StateStore })
toBeMissingBalance(expected: { denomination: string; state: StateStore })
toBeMissingFile()
toBeMissingProperty(expected: { attribute: string; state: StateStore })
toBeMissingStake(expected: { moniker: string; state: StateStore })
toBeTrue()
toBeValidator(expected: {
attributes?: Record<string, any>
state: StateStore
stakingService: StakingService
})
toFailAudit(expected: EventAttribute)
toFailExecution(expected: string)
toHaveFile()
toHaveProperty(expected: { attribute: string; state: StateStore; value?: string })
toHaveStake(expected: { moniker: string; state: StateStore })
toMatchBalance(expected)
toMatchBalances(expected)
toMatchFileCount(expected: number)
toMatchJsonBytes(expected: Uint8Array)
toMatchLockedBalance(expected: { amount: string; denomination: string; state: StateStore })
toMatchMetadata(expected: { attributes: object; state: StateStore })
toMatchPower(expected: { amount: string; state: StateStore })
toMatchProperties(expected: { properties: object; state: StateStore })
toMatchProperty(expected: { key: string; state: StateStore; value: unknown })
toMatchReceiptLogs(expected: object)
toMatchStake(expected: { amount: string; moniker: string; state: StateStore })
toPassAudit()
toPassExecution()
toThrowAttributes(expected: unknown[])
}
}
}
export {}