rageval - v0.1.1
    Preparing search index...

    Interface MatcherResult

    Standard return shape for a Vitest / Jest custom matcher.

    Matcher functions return { pass, message }:

    • pass: true means the assertion succeeded (no error thrown)
    • pass: false means the assertion failed; message() is invoked to produce the error string shown by the test runner
    interface MatcherResult {
        pass: boolean;
        message: () => string;
    }
    Index

    Properties

    Properties

    pass: boolean
    message: () => string