Commit 3457125
committed
test(value): cover ContentPart audio paths to restore PIT 100% (pre-existing #267)
The PIT mutation gate (100% on value.*) was failing at 98% — 4 NO_COVERAGE
mutations, all in ContentPart's audio methods from the merged audio-input feature
(#267): inputAudio was never exercised with "mp3" (only "wav"), and audioFile(Path)
had no tests at all. Pre-existing on main; this branch inherits it via the rebase.
Add four ContentPartTest cases — inputAudio("mp3"), audioFile .wav/.mp3 detection,
and audioFile unknown-extension rejection — mirroring the existing imageFile tests.
Local PIT now reports 243/243 killed (100%); ContentPartTest 17 -> 21, all green.1 parent fe467cd commit 3457125
1 file changed
Lines changed: 40 additions & 0 deletions
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
150 | 190 | | |
0 commit comments