Skip to content

Commit b6bf53a

Browse files
docs(CONTRIBUTING): Update testing instructions to specify module name for bun test command
1 parent c6f78f5 commit b6bf53a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ This script generates:
115115

116116
```bash
117117
# Test your module
118-
bun test
118+
bun test -t 'module-name'
119119

120120
# Format code
121121
bun fmt
@@ -163,12 +163,10 @@ find registry -name "*[module-name]*" -type d
163163
### 3. Test Your Changes
164164

165165
```bash
166-
cd registry/[namespace]/modules/[module-name]
167-
168-
# Test the specific module
169-
bun test
166+
# Test a specific module
167+
bun test -t 'module-name'
170168

171-
# Test all modules (from repo root)
169+
# Test all modules
172170
bun test
173171
```
174172

0 commit comments

Comments
 (0)