Skip to content

Commit

Permalink
remove unneeded tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bartlomieju committed Jul 27, 2020
1 parent 0ee267b commit 522f794
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cli/swc_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,15 +281,3 @@ impl AstParser {
}
}
}

#[test]
fn test_strip_types() {
let ast_parser = AstParser::new();
let result = ast_parser.strip_types(
"test.ts",
MediaType::TypeScript,
"const a: number = 10;",
);
assert!(result.is_ok());
assert_eq!(result.unwrap(), "const a = 10;\n");
}

0 comments on commit 522f794

Please sign in to comment.