Skip to content

Commit

Permalink
Fix more
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 29, 2023
1 parent 6be28b4 commit aec7954
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions crates/swc_ecma_transforms_compat/tests/es2015_for_of.rs
Expand Up @@ -7,9 +7,7 @@ use swc_ecma_transforms_compat::es2015::{
self,
for_of::{for_of, Config},
};
use swc_ecma_transforms_testing::{
compare_stdout, test, test_exec, test_fixture, FixtureTestConfig,
};
use swc_ecma_transforms_testing::{compare_stdout, test, test_exec, test_fixture};

fn syntax() -> Syntax {
Default::default()
Expand Down
@@ -1,4 +1,4 @@
use swc_ecma_parser::{EsConfig, Syntax};
use swc_ecma_parser::Syntax;
use swc_ecma_transforms_compat::es2020::nullish_coalescing::{nullish_coalescing, Config};
use swc_ecma_transforms_testing::{test, test_exec};
use swc_ecma_visit::Fold;
Expand Down
@@ -1,4 +1,4 @@
use swc_ecma_parser::{Syntax, TsConfig};
use swc_ecma_parser::Syntax;
use swc_ecma_transforms_compat::es2021;
use swc_ecma_transforms_testing::{test, test_exec};
use swc_ecma_visit::Fold;
Expand Down
Expand Up @@ -3,7 +3,7 @@
use std::{fs::read_to_string, path::PathBuf};

use swc_common::{chain, Mark};
use swc_ecma_parser::{EsConfig, Syntax};
use swc_ecma_parser::Syntax;
use swc_ecma_transforms_base::resolver;
use swc_ecma_transforms_compat::{
es2015::{arrow, block_scoping, classes, function_name, template_literal},
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_transforms_optimization/tests/simplify.rs
Expand Up @@ -3,7 +3,7 @@
#![deny(warnings)]

use swc_common::{chain, pass::Repeat, Mark};
use swc_ecma_parser::{EsConfig, Syntax, TsConfig};
use swc_ecma_parser::{Syntax, TsConfig};
use swc_ecma_transforms_base::{helpers::inject_helpers, resolver};
use swc_ecma_transforms_compat::{es2015, es2016, es2017, es2018, es2022::class_properties, es3};
use swc_ecma_transforms_module::{common_js::common_js, import_analysis::import_analyzer};
Expand Down

0 comments on commit aec7954

Please sign in to comment.