Ctrl + K
DocumentationLog inGet started

tessl/npm-jest-circus

tessl install tessl/npm-jest-circus@29.7.0

The next-gen flux-based test runner for Jest that provides test framework globals and event-driven test execution

Agent Success

Agent success rate when using this tile

82%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.91x

Baseline

Agent success rate without this tile

43%

task.mdevals/scenario-10/

Form Validator

A form validation library that provides clear, user-friendly error messages for common validation failures.

Capabilities

Email validation

Validates email addresses and throws descriptive errors for invalid formats.

  • Throws error with message "Email must contain @ symbol" when validating "userexample.com" @test
  • Throws error with message "Email must have a domain" when validating "user@" @test
  • Throws error with message "Email contains invalid characters" when validating "user name@example.com" @test

Password validation

Validates passwords against security requirements and throws detailed errors.

  • Throws error with message "Password must be at least 8 characters" when validating "pass" @test
  • Throws error with message "Password must contain an uppercase letter" when validating "password123!" @test
  • Throws error with message "Password must contain a special character" when validating "Password123" @test

Username validation

Validates usernames and throws errors for policy violations.

  • Throws error with message "Username cannot contain spaces" when validating "john doe" @test
  • Throws error with message "Username contains invalid characters" when validating "user@123" @test
  • Throws error with message "Username must be at least 3 characters" when validating "ab" @test

Implementation

@generates

API

export function validateEmail(email);
export function validatePassword(password);
export function validateUsername(username);

Dependencies { .dependencies }

jest { .dependency }

Provides testing framework and snapshot testing capabilities.

@satisfied-by

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/jest-circus@29.7.x
tile.json