1
0
Fork 0
mirror of synced 2024-09-10 06:26:02 +12:00
budibase/apps/account-portal/packages/server/node_modules/jest-matcher-utils
2023-10-17 10:59:46 +02:00
..
build Fix sentry import 2023-10-17 10:59:46 +02:00
node_modules/pretty-format Fix sentry import 2023-10-17 10:59:46 +02:00
LICENSE Fix sentry import 2023-10-17 10:59:46 +02:00
package.json Fix sentry import 2023-10-17 10:59:46 +02:00
README.md Fix sentry import 2023-10-17 10:59:46 +02:00

jest-matcher-utils

This package's exports are most notably used by expect's this.utils.

Installation

To add this package as a dependency of a project, run either of the following commands:

  • npm install jest-matcher-utils
  • yarn add jest-matcher-utils

Exports (src/index.ts)

Functions

stringify highlightTrailingWhitespace printReceived printExpected printWithType ensureNoExpected ensureActualIsNumber ensureExpectedIsNumber ensureNumbers ensureExpectedIsNonNegativeInteger printDiffOrStringify diff pluralize getLabelPrinter matcherErrorMessage matcherHint

Types

MatcherHintOptions DiffOptions

Constants

EXPECTED_COLOR RECEIVED_COLOR INVERTED_COLOR BOLD_WEIGHT DIM_COLOR SUGGEST_TO_CONTAIN_EQUAL