Skip to content

Commit 477712f

Browse files
committed
format test server client script
1 parent e26e86c commit 477712f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/server.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@ app.get("/", (req, res) => {
77
res.send(`
88
<!DOCTYPE html>
99
<script type="text/javascript">
10-
const endpoints = ["rate_limit", "invalid_json", "non_object", "no_next_page", "duplicate_ids", "invalid_id"];
10+
const endpoints = [
11+
"rate_limit",
12+
"invalid_json",
13+
"non_object",
14+
"no_next_page",
15+
"duplicate_ids",
16+
"invalid_id"
17+
];
1118
setInterval(() => {
1219
for (const endpoint of endpoints) {
1320
console.log("API request to " + endpoint);

0 commit comments

Comments
 (0)