Skip to content

Commit 6b4e89e

Browse files
committed
Add TODO about proper tests for AudioContext
1 parent 4e02245 commit 6b4e89e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/media_element.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ fn test_media_element_source_progress() {
1717
src.connect(&context.destination());
1818
media.play();
1919

20-
// sleep for a bit, make sure the audio thread has started
20+
// TODO improve test setup of online AudioContext
21+
// <https://github.com/orottier/web-audio-api-rs/issues/323>
22+
// Sleep for a bit, make sure the audio thread has started
2123
std::thread::sleep(std::time::Duration::from_millis(100));
2224

2325
// assert the media has progressed

0 commit comments

Comments
 (0)