summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index dce0ce1b8..402268dd1 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -37,7 +37,23 @@ fn std_lint() {
let status = util::deno_cmd()
.arg("lint")
.arg("--unstable")
+ .arg(format!(
+ "--ignore={}",
+ util::root_path().join("std/node/tests").to_string_lossy()
+ ))
.arg(util::root_path().join("std"))
+ .spawn()
+ .unwrap()
+ .wait()
+ .unwrap();
+ assert!(status.success());
+}
+
+#[test]
+fn unit_test_lint() {
+ let status = util::deno_cmd()
+ .arg("lint")
+ .arg("--unstable")
.arg(util::root_path().join("cli/tests/unit"))
.spawn()
.unwrap()