Skip to content

Commit

Permalink
chore(test): change axios test url (#434)
Browse files Browse the repository at this point in the history
Fixes a test failure

```
AxiosError: Request failed with status code 503
```


https://github.com/vercel/nft/actions/runs/9785119974/job/27017473162?pr=429#step:10:1864
  • Loading branch information
styfle committed Jul 3, 2024
1 parent 2821dfa commit 7ba8042
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/integration/axios.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const axios = require("axios");

(async () => {
const { data } = await axios({
url: "https://dog.ceo/api/breeds/image/random"
const { status } = await axios({
url: "https://example.vercel.sh"
});
if (data.status !== "success") {
if (status !== 200) {
throw new Error("Unexpected response: " + JSON.stringify(data));
}
})();

0 comments on commit 7ba8042

Please sign in to comment.