Skip to main content
Runners and local tooling create the testkit client once and then configure it before the flow runs.
import { configureTestkitClient } from "@qawolf/testkit";
import { createTestkitClient } from "@qawolf/testkit/client";

const testkit = createTestkitClient({
  mountCifsShare: runner.mountCifsShare,
  saveSnapshot: runner.saveSnapshot,
  startOpenVpn: runner.startOpenVpn,
  startWireGuard: runner.startWireGuard,
});

configureTestkitClient(testkit);

Test Cleanup

Use resetTestkitClient() between tests so client wiring does not leak across cases. For the exact client port shape, see the Client Reference.
Last modified on April 24, 2026