forked from aave/aave-v4-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.d.ts
More file actions
20 lines (19 loc) 路 820 Bytes
/
Copy pathvitest.d.ts
File metadata and controls
20 lines (19 loc) 路 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import type { BigDecimalSource } from '@aave/types';
import 'vitest';
declare module 'vitest' {
interface AsymmetricMatchersContaining extends JestExtendedMatchers {
toBeBigDecimalEqualTo: (expected: BigDecimalSource) => R;
toBeBigDecimalCloseTo: (
expected: number | string,
config: { precision: number } | { percent: number },
) => R;
toBeBigDecimalGreaterThan: (expected: number | string) => R;
toBeBigDecimalLessThan: (expected: number | string) => R;
toBeBetweenDates: (start: Date, end: Date) => R;
toBeHexString: () => R;
toBeSortedNumerically: (order: 'asc' | 'desc') => R;
toBeSortedAlphabetically: (order: 'asc' | 'desc') => R;
toBeSortedByDate: (order: 'asc' | 'desc') => R;
toBeArrayWithElements: (expected: unknown | AsymmetricMatcher) => R;
}
}