Commit ac421b0
fix: skip PlaywrightCheck constructs and check files during pw-test [RED-155]
When pw-test runs, PlaywrightCheck constructs defined in .check.ts files
should not be loaded — they interfere with the ad-hoc Playwright test run
by adding a second check and clobbering dependency resolution.
Two changes in parseProject() when currentCommand === 'pw-test':
1. Filter PlaywrightCheck instances from checklyConfigConstructs
2. Skip loadAllCheckFiles() entirely
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent d5bb4a6 commit ac421b0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
169 | 173 | | |
170 | 174 | | |
171 | 175 | | |
| |||
186 | 190 | | |
187 | 191 | | |
188 | 192 | | |
189 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
190 | 196 | | |
191 | 197 | | |
192 | 198 | | |
| |||
0 commit comments