frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: What should I use to run React Native tests on a device?

3•dboreham•3h ago
Something of a common problem in JS/TS-land, I've found is that unit tests are expected to be run in a Node.js process. In the past in various projects this approach proved problematic because "environment parity" with the target runtime (browser) couldn't be achieved (e.g. no WebRTC[1]). In those projects we resolved this problem by writing our own test runner that could be injected into a headless browser process.

So now the same sort of problem has arisen with a mobile device project using react native: I assumed that unit tests would be runnable on a device or at least an emulator, but it seems not (see: https://docs.expo.dev/develop/unit-testing/). Or at least so far I haven't found the secret sauce or tool to allow that. Any pointers welcome.

[1]Yes there is a WebRTC port for Node that uses an old version of Google's C++ library, but it doesn't actually work properly.

Marcin Wichary's Keyboard, Typewriting, and Type Collection

https://archive.org/details/wicharytypewriter?sort=-publicdate
2•sohkamyung•2m ago•0 comments

How to sabotage your salary negotiations efforts before you even start

https://interviewing.io/blog/sabotage-salary-negotiation-before-even-start
2•pykello•3m ago•0 comments

What on Earth Does Pointer Provenance Have to Do with RCU?

https://people.kernel.org/paulmck/what-on-earth-does-lifetime-end-pointer-zap-have-to-do-with-rcu
1•matt_d•6m ago•0 comments

Anatomy of a Python Loop

https://orencodes.io/anatomy-of-a-python-loop/
1•orencodes•7m ago•0 comments

Piloting Claude for Chrome

https://simonwillison.net/2025/Aug/26/piloting-claude-for-chrome/
1•Shank•9m ago•0 comments

MLRun: Open-Source MLOps Orchestration

https://docs.mlrun.org/en/stable/
1•rzk•14m ago•0 comments

Private equity finds a new way to deal with its deadline crisis

https://www.ft.com/content/58e95295-c1c3-4376-9055-90bd98b8838d
1•petethomas•14m ago•0 comments

Get Ready for the End of Fed Independence

https://www.wsj.com/economy/central-banking/get-ready-for-the-end-of-fed-independence-5a52a824
2•JumpCrisscross•14m ago•1 comments

We have become an authoritarian state, and our top newsrooms are in denial

https://presswatchers.org/2025/08/we-have-become-an-authoritarian-state-and-our-top-newsrooms-are...
6•alwillis•24m ago•0 comments

Uncomfortable Questions About Android Developer Verification

https://commonsware.com/blog/2025/08/26/uncomfortable-questions-android-developer-verification.html
5•ingve•35m ago•0 comments

The man with a Home Computer (1967) [video]

https://www.youtube.com/watch?v=w6Ka42eyudA
3•smarm•38m ago•0 comments

AI coding made me faster, but I can't code to music anymore

https://www.praf.me/ai-coding
3•_praf•39m ago•0 comments

Germany, Japan partner to face down aggressive China

https://www.dw.com/en/germany-japan-partner-to-face-down-aggressive-china/a-73675161
2•peachmaker•39m ago•0 comments

Microsoft headquarters go into lockdown after activists take over Brad Smith's

https://techcrunch.com/2025/08/26/microsoft-headquarters-go-into-lockdown-after-activists-take-ov...
2•cpncrunch•41m ago•0 comments

China Utopia Censorship Propaganda

https://www.theatlantic.com/international/archive/2025/08/china-utopia-censorship-propaganda/683998/
2•peachmaker•44m ago•0 comments

MIT Viral Study Debunked [video]

https://www.youtube.com/watch?v=X6O21jbRcN4
3•starchild3001•46m ago•1 comments

Implementing Forth in Go and C

https://eli.thegreenplace.net/2025/implementing-forth-in-go-and-c/
2•ingve•47m ago•0 comments

SQL Design Patterns

https://vadimtropashko.wordpress.com/%e2%80%9csql-design-patterns%e2%80%9d-book/about/
5•mci•51m ago•0 comments

Bounce Beta Now Live

https://blog.anew.social/bounce-beta-now-live/
2•riffraff•53m ago•0 comments

A free polling add-on for Slack – TinyPoll

https://tinypoll.io
2•hackermiles•53m ago•1 comments

Why Stacking Sliding Windows Can't See Far

https://guangxuanx.com/blog/stacking-swa.html
2•kiyanwang•57m ago•0 comments

"RAG Is Dead, Context Engineering Is King"

https://www.latent.space/p/chroma
3•kiyanwang•58m ago•1 comments

Show HN: Magic links – Get video and dev logs without installing anything

2•irtefa•58m ago•0 comments

MCP Gateway from Microsoft

https://github.com/microsoft/mcp-gateway
2•marshall300791•1h ago•0 comments

God Simulator in Bash

https://github.com/kuprel/serenity
3•kuprel•1h ago•2 comments

How Twitter Handles Millions, If Not Billions of Tweets Every Day?

https://twitter.com/rohitlakh/status/1960303201695170965
2•ShaggyHotDog•1h ago•2 comments

Q&A: Douglas Hofstadter on why AI is far from intelligent (2017)

https://qz.com/1088714/qa-douglas-hofstadter-on-why-ai-is-far-from-intelligent
2•electric_muse•1h ago•0 comments

The TTY Protocol

https://sgt.hootr.club/molten-matter/tty/
2•bubblebeard•1h ago•1 comments

Have We Reached the Singularity?

2•phoenixhaber•1h ago•2 comments

Show HN: Timeline – Auto-save X posts from your timeline with search and export

https://github.com/RiverTwilight/Timeline
2•yungeeker•1h ago•0 comments