Skip to content

earl

Modern assertion library for TypeScript

Ergonomic, fast and type-safe

EarlEarl
💪

Powerful

Use advanced assertions that are able to match whole ranges of values

🤖

Type-safe

Written in TypeScript with type-safety in mind

🎭

Mocks

Type-safe, fully integrated mocks included

☕

Works great with Mocha

Finally a modern assertion library for Mocha

📸

Snapshot testing

Snapshots can be easily created and updated with Earl

🔌

Extensible

Tweak to your needs with plugins

Released under the MIT License.