mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
fix(coverage): fix lint on cfg feature
This commit is contained in:
parent
d232199e1c
commit
05f163f2f7
1 changed files with 4 additions and 5 deletions
|
|
@ -1,11 +1,10 @@
|
|||
use oxc_coverage::{
|
||||
AppArgs, BabelCase, BabelSuite, PrinterTest262Case, Suite, Test262Case, Test262Suite,
|
||||
TypeScriptCase, TypeScriptSuite,
|
||||
};
|
||||
|
||||
#[cfg(feature = "tarpaulin")]
|
||||
#[test]
|
||||
fn test() {
|
||||
use oxc_coverage::{
|
||||
AppArgs, BabelCase, BabelSuite, PrinterTest262Case, Suite, Test262Case, Test262Suite,
|
||||
TypeScriptCase, TypeScriptSuite,
|
||||
};
|
||||
let args = AppArgs { filter: None, detail: false, diff: false };
|
||||
Test262Suite::<Test262Case>::new().run("Test262", &args);
|
||||
BabelSuite::<BabelCase>::new().run("Babel", &args);
|
||||
|
|
|
|||
Loading…
Reference in a new issue