summaryrefslogtreecommitdiff
path: root/cli/ast.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2021-02-11 17:05:42 +0100
committerGitHub <noreply@github.com>2021-02-11 17:05:42 +0100
commit723c99de8a3717611bb28949a05fd1d89d856a1b (patch)
treed2140dda180f4aed0016549b641e6675633e09b3 /cli/ast.rs
parenta097c4089b2a7f2db3c70e951d935e23b4f4293a (diff)
chore: upgrade crates (#9474)
Diffstat (limited to 'cli/ast.rs')
-rw-r--r--cli/ast.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/ast.rs b/cli/ast.rs
index a9b65b751..7aeb1cebc 100644
--- a/cli/ast.rs
+++ b/cli/ast.rs
@@ -588,6 +588,7 @@ impl swc_bundler::Hook for BundleHook {
#[cfg(test)]
mod tests {
use super::*;
+ use std::collections::HashMap;
use swc_ecmascript::dep_graph::DependencyKind;
#[test]
@@ -614,6 +615,7 @@ mod tests {
specifier: "./test.ts".into(),
specifier_col: 21,
specifier_line: 1,
+ import_assertions: HashMap::default(),
},
DependencyDescriptor {
kind: DependencyKind::Import,
@@ -624,6 +626,7 @@ mod tests {
specifier: "./foo.ts".into(),
specifier_col: 29,
specifier_line: 2,
+ import_assertions: HashMap::default(),
}
]
);