Skip to content

Commit

Permalink
add new apprentice test for minified JSON (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
jburns24 authored Apr 11, 2024
1 parent 0b41561 commit 7208146
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions apprentice-action/tests/endpoint.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,9 @@ describe("Tests to the \"/\" endpoint", () => {
const now = Date.now();
expect(res.data.timestamp).to.be.within(now - 5000, now);
});
it("should return a minified JSON object.", async () => {
const res = await axios(`http://${dockerBridgeIP}:80/`);
// TODO: Finish this test
throw new Error("TypeError: Object(...) is not a function");
});
});

0 comments on commit 7208146

Please sign in to comment.