Skip to content

Commit 73f1163

Browse files
authored
Fix tests, updating test URL (#44)
1 parent 9b76197 commit 73f1163

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ function dummyApi(url) {
3232
}
3333

3434
test("returns successfully on 2xx status codes", async () => {
35-
const api = dummyApi("https://httpbin.org/post");
35+
const api = dummyApi("https://httpbingo.org/post");
3636
const status = await api.redeploy("foo", "rollout", "bar");
3737
expect(status).toBe(200);
3838
});
3939

4040
test("throws on error codes", async () => {
41-
const api = dummyApi("https://httpbin.org/status/404");
41+
const api = dummyApi("https://httpbingo.org/status/404");
4242
await expect(api.redeploy("foo", "rollout", "bar")).rejects.toThrow(
4343
"HTTP error 404",
4444
);

0 commit comments

Comments
 (0)