Better HN
topnewbestaskshowjobs
Log inSign up

howToTestFE

372 karma · joined Jun 23, 2025 (1y ago) · 64 submissions

i run https://howtotestfrontend.com, a site full of resources and tips on how to test React frontend code.

i would guess most links i post are either about testing, frontend development, typescript, etc etc.

i also post interesting links i found around the web. the only site that is mine is www.howtotestfrontend.com, the rest are just ones i think might be interesting on hacker news.

Submissions

comment 2mo ago · link · parent

Pretty sure Laravel source code comments above functions were always something like 3 lines, with each line slightly less length than the previous one. Not sure if this is still done or enforced at all, but it was always neat to see.

Here is an example - https://github.com/illuminate/database/blob/master/Connectio... - looks like each one is 3 characters shorter.

2.

Visual Regression Testing: The Most Important Test(howtotestfrontend.com ↗)

1 points · by howToTestFE · 4mo ago · discuss

comment 4mo ago · link · parent

Site/course on teaching how to write tests, mostly about frontend tests in React but also just generally things like Vitest/Jest https://howtotestfrontend.com/courses/jest-vitest-fundamenta...

4.

Popular Front end Libraries (2026)(howtotestfrontend.com ↗)

1 points · by howToTestFE · 4mo ago · discuss

5.

React Testing Interview Questions That Trip Up Engineers(howtotestfrontend.com ↗)

1 points · by howToTestFE · 4mo ago · discuss

comment 4mo ago · link · parent

+1 very confusing name for another mongodb compatible db.

7.

How to Audit a Legacy Codebase in the First Week(piechowski.io ↗)

3 points · by howToTestFE · 5mo ago · discuss

comment 5mo ago · link · parent

Yep. I think there are so many new apps, when I run a `npx skills add ...` , the list of what tools (like claude code, open code, etc) to install skills in is getting larger every time I use it.

I will check it out though.

comment 5mo ago · link · parent

100%. its a horrible code smell, and AI loves to jest.mock (or vi.mock()). (The most recent blog post on my site covers this as one of the things to look out for in AI generated tests...)

in JS (with Jest/Vitest) it is far too easy to call mock()...

comment 5mo ago · link · parent

yup vitest is great (my default choice for new projects).

vitest browser mode is really nice too. (new-ish feature, although at this point it isn't exactly new).

11.

Ask HN: What GUI/desktop app do you use to keep track of different AI sessions?

6 points · by howToTestFE · 5mo ago · 6 comments

comment 5mo ago · link · parent

learn step by step the main features of both Jest and Vitest (they're very similar for most common usages) in these interactive4 lessons

13.

Jest/Vitest interactive course (runs in the browser)(howtotestfrontend.com ↗)

52 points · by howToTestFE · 5mo ago · 13 comments

14.

Code Smells when you get AI to write your Front end Tests(howtotestfrontend.com ↗)

3 points · by howToTestFE · 5mo ago · discuss

15.

The stuff nobody tells you about startup marketing(newsletter.posthog.com ↗)

3 points · by howToTestFE · 5mo ago · discuss

16.

Use Faker to improve the quality of your tests(howtotestfrontend.com ↗)

3 points · by howToTestFE · 5mo ago · discuss

17.

The Conductor Rewrite: What They Changed to Make It Fast(performance.dev ↗)

2 points · by howToTestFE · 5mo ago · discuss

18.

Reverse Engineering Linear's Sync Engine: A Detailed Study(github.com ↗)

2 points · by howToTestFE · 5mo ago · discuss

19.

How's Linear so fast? A technical breakdown(performance.dev ↗)

497 points · by howToTestFE · 5mo ago · 236 comments

20.

Use Faker to improve the quality of your tests(howtotestfrontend.com ↗)

1 points · by howToTestFE · 7mo ago · discuss

comment 8mo ago · link · parent

Blog post comparing Vitest vs Jest

22.

Vitest vs. Jest(howtotestfrontend.com ↗)

1 points · by howToTestFE · 8mo ago · 1 comment

comment 9mo ago · link · parent

not sure how interesting to others, but i thought this was really cool.

(I am not affiliated with posthog at all. Just typed an incorrect address and came across it.)

24.

PostHog's 404 Page(posthog.com ↗)

2 points · by howToTestFE · 9mo ago · 1 comment

25.

Ship Types, Not Docs(shiptypes.com ↗)

8 points · by howToTestFE · 9mo ago · 6 comments

comment 9mo ago · link · parent

Has anyone got any good resources for something like this? I haven't touched C in years, and never worked on anything game-like. But it does look like a really interesting project to start something like this.

comment 9mo ago · link · parent

tldr - `tsc` can be replaced with `tsgo`. `eslint` replaced by `oxlint`, and `prettier` replaced with `oxfmt

28.

From 88 to 24 Seconds: Drop-In Replacements That Cut CI/CD Runtime by over Half(howtotestfrontend.com ↗)

2 points · by howToTestFE · 9mo ago · 1 comment

29.

OpenAI's internal documents predict $14B loss in 2026 according to report(pcgamer.com ↗)

3 points · by howToTestFE · 10mo ago · discuss

123