Skip to content

Commit 1b624df

Browse files
committed
feat: Update dependencies, enable TypeScript build error checking, and adjust E2E test for 'Posts' navigation.
1 parent 72b4dfe commit 1b624df

6 files changed

Lines changed: 103 additions & 96 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ yarn-debug.log*
2525
yarn-error.log*
2626

2727
# local env files
28+
.env
2829
.env*.local
2930

3031
# vercel

e2e/navigation.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ test("should navigate to home page on first render", async ({ page }) => {
44
await page.goto("/");
55
});
66

7-
test("should navigate from home page to magazine page using header", async ({
7+
test("should navigate from home page to posts page using header", async ({
88
page,
99
}) => {
1010
await page.goto("/");
1111
await page
1212
.getByRole("banner")
13-
.getByRole("link", { name: "Magazine" })
13+
.getByRole("link", { name: "Posts" })
1414
.click();
15-
await expect(page).toHaveURL("/magazine");
15+
await expect(page).toHaveURL("/posts");
1616
});

next.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
const nextConfig = {
33
output: "standalone",
44
typescript: {
5-
ignoreBuildErrors: true,
5+
ignoreBuildErrors: false,
66
},
77
images: {
88
remotePatterns: [

package-lock.json

Lines changed: 81 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)