mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
12 lines
166 B
Rust
12 lines
166 B
Rust
|
use swc_timer::timer;
|
||
|
|
||
|
#[test]
|
||
|
fn logging() {
|
||
|
testing::run_test(false, |_, _| {
|
||
|
let _timer = timer!("operation");
|
||
|
|
||
|
Ok(())
|
||
|
})
|
||
|
.unwrap();
|
||
|
}
|