Skip to content

Commit

Permalink
Fix testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Nov 30, 2023
1 parent c001b1c commit bc05027
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/axios/axios_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ import { assertEquals } from "https://deno.land/[email protected]/testing/asserts.ts";
import axios from "http://localhost:8080/[email protected]";

Deno.test("axios", async () => {
const res = await axios.get("http://localhost:8080/status.json")
assertEquals(res.data.ns, "READY")
const res = await axios.get("http://localhost:8080/status.json");
assertEquals(typeof res.data.version, "number");
});
2 changes: 1 addition & 1 deletion test/issue-497/issue-497.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ Deno.test("issue #497", async () => {
resolve();
});
});
assertEquals(status?.ns, "READY");
assertEquals(typeof status.version, "number");
});

0 comments on commit bc05027

Please sign in to comment.