Enable env log in peer tests
This commit is contained in:
parent
c0a434fe27
commit
a14b626927
3 changed files with 11 additions and 0 deletions
|
@ -499,6 +499,13 @@ mod tests {
|
|||
use async_tungstenite::tungstenite::Message as WebSocketMessage;
|
||||
use gpui::TestAppContext;
|
||||
|
||||
#[ctor::ctor]
|
||||
fn init_logger() {
|
||||
if std::env::var("RUST_LOG").is_ok() {
|
||||
env_logger::init();
|
||||
}
|
||||
}
|
||||
|
||||
#[gpui::test(iterations = 50)]
|
||||
async fn test_request_response(cx: &mut TestAppContext) {
|
||||
let executor = cx.foreground();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue