-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
test.ts
38 lines (32 loc) 路 793 Bytes
/
test.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
import {
cleanQuote,
cleanTags,
quotableAuthor,
quotableQuote,
quotableRandom,
quotableTags,
} from "./mod.ts";
Deno.test("[quotableRandom]", async () => {
const quote = await quotableRandom();
console.log(quote);
});
Deno.test("[quotableTags]", async () => {
const quote = await quotableTags();
console.log(quote);
});
Deno.test("[quotableAuthor]", async () => {
const quote = await quotableAuthor("yBDYq_Vtnuw");
console.log(quote);
});
Deno.test("[quotableQuote]", async () => {
const quote = await quotableQuote("9gCEJkS5uaRS");
console.log(quote);
});
Deno.test("[cleanQuote]", async () => {
const quote = await cleanQuote();
console.log(quote);
});
Deno.test("[cleanTags]", async () => {
const quote = await cleanTags();
console.log(quote);
});