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