Skip to content
Healing orb from the game Valorant

Sagetest

๐Ÿงช Neat and streamlined library for testing node.js HTTP servers.

Features

TypeScript friendly

TypeScript friendly, exposes both ESM and CJS modules.

Maximum performance ย ๐Ÿš€

Built on top of undici for maximum performance.

Convenient API

Easy-to-use, supertest-like chainable API.

Supports a dedicated test server

Supports a dedicated test server to reduce the number of instances spawned during testing.

Works with node.js v18+ out of the box

Supports Node.js v18.0 and above.

Stripped of all unnecessary third-party dependencies

No unnecessary third-party dependencies.

Cookies parsing

Automatically handles cookie parsing.