Commit 466f8ed
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 ed86e4a commit 466f8ed
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
78 | 82 | | |
79 | 83 | | |
80 | 84 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
95 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
0 commit comments