Skip to content

Commit

Permalink
feat: add test and rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ytkimirti committed Oct 24, 2024
1 parent 6aa8d54 commit ff8c4c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/nextjs/ci.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ test("the server is running", async () => {
console.log(`${deploymentURL}/api`);
const res = await fetch(`${deploymentURL}/api`);

if (res.status !== 200) {
console.log(await res.text());
}
expect(res.status).toEqual(200);
}, { timeout: 10000 });

test("the pages router example is working", async () => {
console.log(`${deploymentURL}/api`);
const res = await fetch(`${deploymentURL}/api/pages-test`);

if (res.status !== 200) {
console.log(await res.text());
}
Expand Down
File renamed without changes.

0 comments on commit ff8c4c7

Please sign in to comment.