-
Notifications
You must be signed in to change notification settings - Fork 0
/
mod.ts
29 lines (26 loc) · 982 Bytes
/
mod.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
import { Asserts } from "./src/deps.ts";
import { empower, empowerAsync } from "./src/empower.ts";
const options = { color: true };
export const assert = empower(Asserts.assert, options);
export const assertEquals = empower(Asserts.assertEquals, options);
export const assertNotEquals = empower(Asserts.assertNotEquals, options);
export const assertStrictEquals = empower(Asserts.assertStrictEquals, options);
export const assertNotStrictEquals = empower(
Asserts.assertNotStrictEquals,
options,
);
export const assertStringContains = empower(
Asserts.assertStringContains,
options,
);
export const assertArrayContains = empower(
Asserts.assertArrayContains,
options,
);
export const assertMatch = empower(Asserts.assertMatch, options);
export const assertNotMatch = empower(Asserts.assertNotMatch, options);
export const assertThrows = empower(Asserts.assertThrows, options);
export const assertThrowsAsync = empowerAsync(
Asserts.assertThrowsAsync,
options,
);