# @suaveplan/network-testing - Network testing utilities: in-memory transport, fake WebSocket adapter, condition simulator, test peer factory, and event capture assertions ## Documentation tree - [event-capture](./src/assertions/event-capture/event-capture.md) — The `event-capture` module provides a testing utility that records every event emitted through an `EventBusLike` instan… - [event-capture](./src/assertions/event-capture/event-capture.md) — The `event-capture` module provides a testing utility that records every event emitted through an `EventBusLike` instan… - [test-peer](./src/factories/test-peer/test-peer.md) — `test-peer` provides a fluent factory for generating synthetic peer identities during network tests. Instead of mocking… - [test-peer](./src/factories/test-peer/test-peer.md) — `test-peer` provides a fluent factory for generating synthetic peer identities during network tests. Instead of mocking… - [condition-simulator](./src/simulators/condition-simulator/condition-simulator.md) — `condition-simulator` wraps any transport-like object and injects real-world network impairments: latency, jitter, pack… - [condition-simulator](./src/simulators/condition-simulator/condition-simulator.md) — `condition-simulator` wraps any transport-like object and injects real-world network impairments: latency, jitter, pack… - [fake-websocket](./src/transports/fake-websocket/fake-websocket.md) — This module provides an in-memory WebSocket replacement for tests that need to verify transport-layer behaviour without… - [fake-websocket](./src/transports/fake-websocket/fake-websocket.md) — This module provides an in-memory WebSocket replacement for tests that need to verify transport-layer behaviour without… - [memory-transport](./src/transports/memory-transport/memory-transport.md) — `memory-transport` creates a pair of connected in-memory transport endpoints. It is the fastest way to write unit tests… - [memory-transport](./src/transports/memory-transport/memory-transport.md) — `memory-transport` creates a pair of connected in-memory transport endpoints. It is the fastest way to write unit tests… - [types](./src/types/common.md) — This module declares the public type surface of `@suaveplan/network-testing`. All interfaces are pure types with no run… - [common](./src/types/common.md) — This module declares the public type surface of `@suaveplan/network-testing`. All interfaces are pure types with no run… - [error-codes](./src/error-codes.md) — This module defines the canonical error taxonomy for the `@suaveplan/network-testing` package. All test-failure conditi…