summaryrefslogtreecommitdiff
path: root/cli/fmt.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-06-17 21:50:30 +0200
committerGitHub <noreply@github.com>2020-06-17 21:50:30 +0200
commit097e42418c6746a4f24e05effaf6a61df9509310 (patch)
tree5b8861736f8b550737770b426dcc0524d3dfe54f /cli/fmt.rs
parente60922981be918ba4e6d9d857d9834b0d586df5b (diff)
chore: move fmt test to integration tests (#6340)
Diffstat (limited to 'cli/fmt.rs')
-rw-r--r--cli/fmt.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/cli/fmt.rs b/cli/fmt.rs
index 96ca285c1..025adc83f 100644
--- a/cli/fmt.rs
+++ b/cli/fmt.rs
@@ -324,11 +324,3 @@ fn test_is_supported() {
assert!(is_supported(Path::new("foo.mjs")));
assert!(!is_supported(Path::new("foo.mjsx")));
}
-
-#[tokio::test]
-async fn check_tests_dir() {
- // Because of cli/tests/error_syntax.js the following should fail but not
- // crash.
- let r = format(vec!["./tests".to_string()], true).await;
- assert!(r.is_err());
-}