Skip to content

Commit baf68d3

Browse files
committed
chore: udate example basic
1 parent 7ce8b09 commit baf68d3

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

examples/basic/AGENTS.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Basic RNTL Example App
2+
3+
Standalone Expo/React Native example app showing a minimal TypeScript + Jest setup for React Native Testing Library.
4+
5+
# React Native Testing Library in this project
6+
7+
This project uses `@testing-library/react-native`. Its APIs and testing conventions can differ from your training data.
8+
Before writing or changing RNTL tests, read the relevant guide in
9+
`node_modules/@testing-library/react-native/docs/`, starting with
10+
`node_modules/@testing-library/react-native/docs/guides/llm-guidelines.md`.
11+
Prefer those package docs over stale assumptions, and follow deprecation notices.

examples/basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323
},
2424
"devDependencies": {
2525
"@babel/core": "^7.29.0",
26-
"@testing-library/react-native": "^14.0.0-beta.0",
26+
"@testing-library/react-native": "^14.0.0-rc.2",
2727
"@types/jest": "^29.5.12",
2828
"@types/react": "~19.1.10",
2929
"eslint": "^10.2.0",
3030
"eslint-plugin-testing-library": "^7.16.2",
3131
"jest": "~29.7.0",
32-
"test-renderer": "0.16.0",
32+
"test-renderer": "1.2.0",
3333
"typescript": "~5.9.2",
3434
"typescript-eslint": "^8.58.1"
3535
},

0 commit comments

Comments
 (0)