From d15f6a55f09508e0347247d9ca1584210aab5dcb Mon Sep 17 00:00:00 2001 From: Joao Mantovani Date: Sun, 13 Jul 2025 16:15:32 -0300 Subject: [PATCH] docs: add test instructions --- AGENTS.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 00eaf9b..c53833a 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,5 +19,8 @@ This repository contains a React Native library (`reactnative-forceupdate`) and ## Continuous Integration GitHub Actions (`.github/workflows/ci.yml`) run `yarn lint`, `yarn typecheck`, `yarn test` with coverage, build the library and the web example. +### Running Tests +Run `yarn test` locally to execute the Jest suite. The CI workflow installs Node 18 via `actions/setup-node` and caches `node_modules` and `.yarn/install-state.gz` (see `.github/actions/setup`). Preinstall Node 18 or use a similar cache in your own CI to avoid re‑downloading all dependencies. + ## Pull Requests Keep pull requests focused and small. Verify that lint, typecheck and tests pass before creating the PR. Use clear commit messages in the Conventional Commit format.