Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion crates/wasm-pkg-client/tests/e2e.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#[cfg(feature = "docker-tests")]
use futures_util::TryStreamExt;
use wasm_pkg_client::{Client, Config, PublishOpts};
#[cfg(feature = "docker-tests")]
use wasm_pkg_client::PublishOpts;
use wasm_pkg_client::{Client, Config};

#[cfg(feature = "docker-tests")]
const FIXTURE_WASM: &str = "./tests/testdata/binary_wit.wasm";

#[cfg(feature = "docker-tests")]
Expand Down Expand Up @@ -203,6 +207,7 @@ async fn fetch_with_custom_config() {
);
}

#[cfg(feature = "docker-tests")]
fn generate_self_signed_tls_fixture() -> (String, String) {
let subject_alt_names = vec!["localhost".to_string(), "127.0.0.1".to_string()];
let rcgen::CertifiedKey { cert, signing_key } =
Expand Down