mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 00:29:09 -05:00
b2bacd969c
Originally landed in
f6fd6619e7
.
Reverted in https://github.com/denoland/deno/pull/24574.
This reland contains a fix that sends "Accept: */*" header for calls made
from "FileFetcher". Absence of this header made downloading source code
from JSR broken. This is tested by ensuring this header is present in the
test server that servers JSR packages.
---------
Co-authored-by: Sean McArthur <sean@seanmonstar.com>
68 lines
1.6 KiB
TOML
68 lines
1.6 KiB
TOML
# Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "cli_tests"
|
|
version = "0.0.0"
|
|
authors.workspace = true
|
|
autotests = false
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
run = []
|
|
|
|
[[test]]
|
|
name = "integration_tests"
|
|
path = "integration/mod.rs"
|
|
required-features = ["run"]
|
|
|
|
[[test]]
|
|
name = "specs"
|
|
path = "specs/mod.rs"
|
|
required-features = ["run"]
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "node_compat_tests"
|
|
path = "node_compat/test_runner.rs"
|
|
required-features = ["run"]
|
|
|
|
[dev-dependencies]
|
|
bytes.workspace = true
|
|
chrono = { workspace = true, features = ["now"] }
|
|
deno_ast.workspace = true
|
|
deno_bench_util.workspace = true
|
|
deno_cache_dir = { workspace = true }
|
|
deno_core = { workspace = true, features = ["include_js_files_for_snapshotting", "unsafe_use_unprotected_platform"] }
|
|
deno_fetch.workspace = true
|
|
deno_lockfile.workspace = true
|
|
deno_terminal.workspace = true
|
|
deno_tls.workspace = true
|
|
fastwebsockets = { workspace = true, features = ["upgrade", "unstable-split"] }
|
|
file_test_runner = "0.7.2"
|
|
flaky_test = "=0.1.0"
|
|
http.workspace = true
|
|
http-body-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
once_cell.workspace = true
|
|
os_pipe.workspace = true
|
|
pretty_assertions.workspace = true
|
|
regex.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
test_util.workspace = true
|
|
tokio.workspace = true
|
|
tower-lsp.workspace = true
|
|
trust-dns-client = "=0.23.2"
|
|
trust-dns-server = "=0.23.2"
|
|
url.workspace = true
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
zeromq.workspace = true
|
|
|
|
[target.'cfg(unix)'.dev-dependencies]
|
|
nix.workspace = true
|