test(lesavka): follow relocated opus coverage tests
This commit is contained in:
parent
29a565f9e2
commit
0c90611814
@ -20,6 +20,10 @@ const AUDIO_CODEC: &str = include_str!(concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
"/client/src/input/audio_codec.rs"
|
||||
));
|
||||
const AUDIO_CODEC_TESTS: &str = include_str!(concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
"/client/src/input/audio_codec/tests/mod.rs"
|
||||
));
|
||||
const UPLINK_QUEUE_METADATA: &str = include_str!(concat!(
|
||||
env!("CARGO_MANIFEST_DIR"),
|
||||
"/client/src/app/uplink_media/uplink_queue_metadata.rs"
|
||||
@ -63,7 +67,7 @@ fn client_microphone_path_preserves_pcm_fallback_and_opus_selection() {
|
||||
"decode_opus_payload",
|
||||
] {
|
||||
assert!(
|
||||
AUDIO_CODEC.contains(expected),
|
||||
AUDIO_CODEC.contains(expected) || AUDIO_CODEC_TESTS.contains(expected),
|
||||
"client Opus path should keep low-delay/non-silent evidence marker {expected}"
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user