mirror of
https://github.com/denoland/deno.git
synced 2025-07-23 05:05:08 +00:00
test: don't use remote std for tests (#16631)
This commit is contained in:
parent
c1cb4d6a8d
commit
7aa8e9c035
3 changed files with 5 additions and 2 deletions
|
@ -211,6 +211,7 @@ fn no_snaps_included(test_name: &str, extension: &str) {
|
|||
.current_dir(util::testdata_path())
|
||||
.arg("coverage")
|
||||
.arg("--unstable")
|
||||
.arg("--include=no_snaps_included.ts")
|
||||
.arg(format!("{}/", tempdir.to_str().unwrap()))
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::piped())
|
||||
|
@ -260,6 +261,7 @@ fn no_transpiled_lines() {
|
|||
let output = util::deno_cmd_with_deno_dir(&deno_dir)
|
||||
.current_dir(util::testdata_path())
|
||||
.arg("coverage")
|
||||
.arg("--include=no_transpiled_lines/index.ts")
|
||||
.arg(format!("{}/", tempdir.to_str().unwrap()))
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::piped())
|
||||
|
@ -287,6 +289,7 @@ fn no_transpiled_lines() {
|
|||
.current_dir(util::testdata_path())
|
||||
.arg("coverage")
|
||||
.arg("--lcov")
|
||||
.arg("--include=no_transpiled_lines/index.ts")
|
||||
.arg(format!("{}/", tempdir.to_str().unwrap()))
|
||||
.stdout(std::process::Stdio::piped())
|
||||
.stderr(std::process::Stdio::inherit())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue