mirror of
https://github.com/actions/labeler.git
synced 2025-12-18 08:06:47 +00:00
build
This commit is contained in:
9
node_modules/jest-matcher-utils/build/index.d.ts
generated
vendored
9
node_modules/jest-matcher-utils/build/index.d.ts
generated
vendored
@@ -4,13 +4,17 @@
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import jestDiff, { DiffOptions } from 'jest-diff';
|
||||
import { DiffOptions } from 'jest-diff';
|
||||
declare type MatcherHintColor = (arg: string) => string;
|
||||
export declare type MatcherHintOptions = {
|
||||
comment?: string;
|
||||
expectedColor?: MatcherHintColor;
|
||||
isDirectExpectCall?: boolean;
|
||||
isNot?: boolean;
|
||||
promise?: string;
|
||||
receivedColor?: MatcherHintColor;
|
||||
secondArgument?: string;
|
||||
secondArgumentColor?: MatcherHintColor;
|
||||
};
|
||||
export { DiffOptions };
|
||||
export declare const EXPECTED_COLOR: import("chalk").Chalk & {
|
||||
@@ -39,7 +43,8 @@ export declare const ensureActualIsNumber: (actual: unknown, matcherName: string
|
||||
export declare const ensureExpectedIsNumber: (expected: unknown, matcherName: string, options?: MatcherHintOptions | undefined) => void;
|
||||
export declare const ensureNumbers: (actual: unknown, expected: unknown, matcherName: string, options?: MatcherHintOptions | undefined) => void;
|
||||
export declare const ensureExpectedIsNonNegativeInteger: (expected: unknown, matcherName: string, options?: MatcherHintOptions | undefined) => void;
|
||||
export declare const diff: typeof jestDiff;
|
||||
export declare const printDiffOrStringify: (expected: unknown, received: unknown, expectedLabel: string, receivedLabel: string, expand: boolean) => string;
|
||||
export declare const diff: (a: any, b: any, options?: import("jest-diff/build/types").DiffOptions | undefined) => string | null;
|
||||
export declare const pluralize: (word: string, count: number) => string;
|
||||
declare type PrintLabel = (string: string) => string;
|
||||
export declare const getLabelPrinter: (...strings: string[]) => PrintLabel;
|
||||
|
||||
Reference in New Issue
Block a user