mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
LibWeb: Wait for the correct condition in Stream tests
We were signaling that the test is complete too early in some Stream tests.
This commit is contained in:
parent
c9cbaeb59d
commit
f3f7f77dbc
Notes:
github-actions[bot]
2024-10-03 11:08:29 +00:00
Author: https://github.com/trflynn89
Commit: f3f7f77dbc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1603
Reviewed-by: https://github.com/awesomekling ✅
Reviewed-by: https://github.com/circl-lastname
Reviewed-by: https://github.com/kalenikaliaksandr ✅
3 changed files with 15 additions and 11 deletions
|
@ -8,6 +8,10 @@
|
|||
resolve();
|
||||
});
|
||||
},
|
||||
|
||||
close() {
|
||||
done();
|
||||
}
|
||||
});
|
||||
|
||||
function sendMessage(message) {
|
||||
|
@ -19,7 +23,6 @@
|
|||
|
||||
writer.ready.then(() => {
|
||||
writer.close();
|
||||
done();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue