e2e

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package e2e contains end-to-end tests that run the client against the published Serverless SSH CA package.

The tests require Node.js 22.5 or later and npm, and use the "e2e" build tag so they are not run as part of the unit tests:

go test -tags e2e -race ./internal/e2e/...

The CA is run by the harness in testdata/ca, which provides the parts of the Cloudflare Workers environment the CA relies on. Its npm dependencies are installed automatically when the tests start, which requires network access.

Setting E2E_CA_PACKAGE to an npm install spec, such as the path to a tarball from "npm pack", tests against that CA package instead of the version pinned in testdata/ca/package-lock.json.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL