howToTestFE
Re:“I just chose words carefully”
on Monday August 31, 2026 @10:55AM (#49510549)
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.
Re:Ask HN: What Are You Working On? (July 2026)
on Monday July 13, 2026 @03:46PM (#48897798)
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...
Popular Front end Libraries (2026)
React Testing Interview Questions That Trip Up Engineers
Re:DocumentDB – a MongoDB compatible open-source database
on Monday June 29, 2026 @11:56AM (#48720951)
+1 very confusing name for another mongodb compatible db.
How to Audit a Legacy Codebase in the First Week
Re:Ask HN: What GUI/desktop app do you use to keep track of different ...
on Saturday June 27, 2026 @07:14AM (#48697231)
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.
Re:Jest/Vitest interactive course (runs in the browser)
on Saturday June 27, 2026 @06:56AM (#48697131)
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()...
Re:Jest/Vitest interactive course (runs in the browser)
on Saturday June 27, 2026 @06:44AM (#48697061)
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).
Ask HN: What GUI/desktop app do you use to keep track of different AI sessions?
What GUI apps do you use to manage different AI sessions?Command line (on Claude Code etc) is great but it is so hard to keep track of different sessions.I've tried the official apps (like Codex or Claude desktop), is there anything that is better?
Jest/Vitest interactive course (runs in the browser)
Re:Jest/Vitest interactive course (runs in the browser)
on Wednesday June 24, 2026 @05:09PM (#48665672)
learn step by step the main features of both Jest and Vitest (they're very similar for most common usages) in these interactive4 lessons
Code Smells when you get AI to write your Front end Tests
The stuff nobody tells you about startup marketing
Use Faker to improve the quality of your tests
The Conductor Rewrite: What They Changed to Make It Fast
Reverse Engineering Linear's Sync Engine: A Detailed Study
How's Linear so fast? A technical breakdown
Use Faker to improve the quality of your tests
Vitest vs. Jest
Re:Vitest vs. Jest
on Saturday March 14, 2026 @10:27AM (#47377048)
Blog post comparing Vitest vs Jest
PostHog's 404 Page
Re:PostHog's 404 Page
on Saturday February 21, 2026 @05:53AM (#47099526)
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.)
Ship Types, Not Docs
Re:I write games in C (yes, C)
on Saturday February 07, 2026 @04:42PM (#46928400)
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.
Re:From 88 to 24 Seconds: Drop-In Replacements That Cut CI/CD Runtime ...
on Monday February 02, 2026 @01:24PM (#46859337)
tldr - `tsc` can be replaced with `tsgo`. `eslint` replaced by `oxlint`, and `prettier` replaced with `oxfmt
From 88 to 24 Seconds: Drop-In Replacements That Cut CI/CD Runtime by over Half
OpenAI's internal documents predict $14B loss in 2026 according to report
Re:Show HN: isometric.nyc – giant isometric pixel art map of NYC
on Thursday January 22, 2026 @03:33PM (#46724775)
this makes me want to play simcity again! really cool