Skip to content

Commit a3272f9

Browse files
committed
chore: tweak
1 parent 9d77ea8 commit a3272f9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/plugin-rsc/CONTRIBUTING.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide provides essential tips for contributors working on the RSC plugin.
66

77
### E2E Test Setup
88

9-
The e2e testing uses a scalable approach inspired by React Router's integration tests. Tests use Playwright and are located in `e2e/`.
9+
Tests use Playwright and are located in `e2e/` and uses `examples` as test app.
1010

1111
#### Test Fixture Patterns
1212

@@ -16,16 +16,18 @@ The e2e testing uses a scalable approach inspired by React Router's integration
1616

1717
### Adding New Test Cases
1818

19-
**Option 1: Using `setupInlineFixture` (Recommended for specific use cases)**
20-
Best for testing specific use cases. See `e2e/ssr-thenable.test.ts` for the pattern.
21-
22-
**Option 2: Expanding `examples/basic` (Recommended for comprehensive features)**
19+
**Expanding `examples/basic` (for comprehensive features)**
2320
Best for features that should be part of the main test suite. `examples/basic` is mainly used for e2e testing:
2421

2522
1. Add your test case files to `examples/basic/src/routes/`
2623
2. Update the routing in `examples/basic/src/routes/root.tsx`
2724
3. Add corresponding tests in `e2e/basic.test.ts`
2825

26+
**Using `setupInlineFixture` (for specific edge cases)**
27+
Best for testing specific edge cases or isolated features. See `e2e/ssr-thenable.test.ts` for the pattern.
28+
29+
<!-- TODO: mention unit test -->
30+
2931
## Development Workflow
3032

3133
<!-- TODO: mention playwright vscode extension? -->

0 commit comments

Comments
 (0)