Skip to content

Commit

Permalink
More json work
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 10, 2023
1 parent 2fca92f commit 7628f7d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion crates/swc_ecma_transforms_proposal/tests/decorators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::path::{Path, PathBuf};
use serde::Deserialize;
use swc_common::{chain, Mark};
use swc_ecma_parser::{EsConfig, Syntax, TsConfig};
use swc_ecma_transforms_base::resolver;
use swc_ecma_transforms_base::{assumptions::Assumptions, resolver};
use swc_ecma_transforms_proposal::decorator_2022_03::decorator_2022_03;
use swc_ecma_transforms_testing::{test_fixture, FixtureTestConfig};
use swc_ecma_visit::Fold;
Expand Down Expand Up @@ -57,7 +57,14 @@ fn fixture_inner(input: PathBuf) {
#[derive(Deserialize)]
#[serde(deny_unknown_fields, rename_all = "camelCase")]
struct BabelTestOptions {
#[serde(default)]
assumptions: Assumptions,

#[serde(default)]
plugins: Vec<BabelPluginEntry>,

#[serde(default)]
min_node_version: String,
}

#[derive(Deserialize)]
Expand Down

0 comments on commit 7628f7d

Please sign in to comment.