Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
fix: check response status
Browse files Browse the repository at this point in the history
  • Loading branch information
KillWolfVlad committed Oct 26, 2023
1 parent 2306f21 commit 324961c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions upvote.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ describe("Upvote", () => {
}
);

assert.strictEqual(htmlResponse.status, 200, "site must be available");

const html = await htmlResponse.text();

const csrfToken = html.match(
Expand Down

0 comments on commit 324961c

Please sign in to comment.