Skip to content

Commit

Permalink
fix: Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
petamoriken committed May 4, 2024
1 parent 85a9e1b commit c813957
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions crates/swc/tests/rust_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ fn shopify_2_same_opt() {
syntax: Some(Syntax::Typescript(TsConfig {
tsx: true,
decorators: false,
disallow_assert_keywords: false,
dts: false,
no_early_errors: false,
disallow_ambiguous_jsx_like: false,
Expand Down
1 change: 1 addition & 0 deletions crates/swc/tests/tsc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ fn matrix(input: &Path) -> Vec<TestUnitData> {
syntax: Some(Syntax::Typescript(TsConfig {
tsx: is_jsx,
decorators,
disallow_assert_keywords: false,
dts: false,
no_early_errors: false,
disallow_ambiguous_jsx_like: false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ fn identity(entry: PathBuf) {
Syntax::Typescript(TsConfig {
tsx: file_name.contains("tsx"),
decorators: true,
disallow_assert_keywords: false,
dts: false,
no_early_errors: false,
disallow_ambiguous_jsx_like: false,
Expand Down

0 comments on commit c813957

Please sign in to comment.