mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 13:51:19 +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();
|
||
|
}
|