Abstract Private #supertestPrivate #unitProtected testDirectory name for test data and argument files.
Protected expectVitest expect function reference for per-instance use.
Protected Abstract httpSubclasses must override this getter to return the HTTP server instance (e.g. an Express/NestJS app) for supertest to bind to.
Protected mocksTest double library (sinon if available, otherwise vi).
Protected nockNock library reference for per-instance HTTP mocking.
Protected sinonProtected supertestSupertest instance bound to httpServer. Lazily initialised.
Static expectVitest expect function reference.
Static mocksTest double library (sinon if available, otherwise vi).
Static nockNock library reference for HTTP mocking.
Static sinonTest double library (sinon if available, otherwise vi).
Use Spec.mocks instead.
Protected apiProtected exactlyProtected logProtected logProtected unitProtected validateStatic Private #mocks
Description
Abstract base class for Vitest-based integration and unit test suites.
Provides:
Example