CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-jest-expect-message

Add custom message to Jest expects

Overall
score

99%

Overview
Eval results
Files

Evaluation results

100%

User Data Validator

Advanced configuration combinations

Criteria
Without context
With context

Package setup

100%

100%

Custom message usage

100%

100%

Default configuration

100%

100%

showPrefix control

100%

100%

Multiple option combination

100%

100%

Configuration variety

100%

100%

100%

Enhanced Test Assertions

Global expect enhancement

Criteria
Without context
With context

Library import

100%

100%

Jest configuration

100%

100%

Custom message usage

100%

100%

Matcher compatibility

100%

100%

85%

75%

Test Suite Validator

Custom error messages for assertions

Criteria
Without context
With context

Basic custom messages

0%

100%

Async matcher messages

0%

100%

Message quality

0%

100%

Configuration options

0%

0%

Setup configuration

100%

100%

100%

Assertion Library Performance Benchmarker

Minimal performance overhead

Criteria
Without context
With context

Library setup

100%

100%

Baseline assertions

100%

100%

Enhanced assertions

100%

100%

Matcher compatibility

100%

100%

Timing measurements

100%

100%

Return structure

100%

100%

100%

65%

Custom Test Error Reporter

Basic configuration options (showPrefix, showMatcherMessage, showStack)

Criteria
Without context
With context

Package setup

100%

100%

Custom messages provided

100%

100%

showPrefix option usage

0%

100%

showMatcherMessage option usage

0%

100%

showStack option usage

0%

100%

Multiple configurations

0%

100%

100%

User Validation Test Suite

Matcher interception without modification using proxy pattern

Criteria
Without context
With context

Uses expect with message parameter

100%

100%

Custom messages are descriptive

100%

100%

Works with standard matchers

100%

100%

Handles negation with .not

100%

100%

Tests cover all scenarios

100%

100%

Proper test structure

100%

100%

100%

66%

Async Validator Test Suite

Recursive matcher wrapping for nested matchers (.not, .resolves, .rejects)

Criteria
Without context
With context

Setup jest-expect-message

80%

100%

Custom messages usage

40%

100%

.resolves matcher chain

0%

100%

.rejects matcher chain

50%

100%

.not.resolves chain

0%

100%

Message clarity

66%

100%

100%

72%

API Response Validator Test Suite

Asymmetric matcher support

Criteria
Without context
With context

Custom messages usage

100%

100%

expect.any() usage

0%

100%

expect.objectContaining() usage

0%

100%

expect.arrayContaining() usage

0%

100%

Combined asymmetric matchers

0%

100%

Message quality

60%

100%

100%

Custom Matchers for Product Validation

expect.extend compatibility for custom matchers

Criteria
Without context
With context

expect.extend usage

100%

100%

Matcher return structure

100%

100%

toBeValidPrice implementation

100%

100%

toBeInStock implementation

100%

100%

toHaveCategory implementation

100%

100%

toHaveAllTags implementation

100%

100%

Negation support

100%

100%

Jest-expect-message compatibility

100%

100%

100%

35%

User Validator Test Suite

Universal matcher compatibility

Criteria
Without context
With context

Custom messages usage

100%

100%

Standard matchers

100%

100%

Negated matchers

0%

100%

Async matchers

0%

100%

Multiple matcher types

100%

100%

Package setup

100%

100%

Install with Tessl CLI

npx tessl i tessl/npm-jest-expect-message
Evaluated
Agent
Codex

Table of Contents