diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-09-13 14:15:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-13 14:15:38 +0200 |
commit | b216d48e5f179260fea247d4a1b9fce76f240e7d (patch) | |
tree | 66fb54d1e573f84d4dec92af8c465e60a998902e /cli/tests/integration_tests.rs | |
parent | bf70442b08eb54b2959b32977aa0a245c530248b (diff) |
upgrade: deno_doc, deno_lint, dprint, swc (#7434)
upgrades:
- swc_ecmascript 0.7.7
- dprint-plugin-typescript 0.31.3
- deno_lint 0.2.0
- deno_doc 0.1.9
Split std_lint test into std_lint and unit_test_lint.
Added lint ignores to CommonJS files in std/node.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 16 |
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() |