Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

printSnapshot.d.ts 1.4KB

123456789101112131415161718192021222324
  1. /**
  2. * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. import chalk = require('chalk');
  8. import { DiffOptionsColor } from 'jest-diff';
  9. import type { MatchSnapshotConfig } from './types';
  10. declare type Chalk = chalk.Chalk;
  11. export declare const getSnapshotColorForChalkInstance: (chalkInstance: Chalk) => DiffOptionsColor;
  12. export declare const getReceivedColorForChalkInstance: (chalkInstance: Chalk) => DiffOptionsColor;
  13. export declare const aSnapshotColor: DiffOptionsColor;
  14. export declare const bReceivedColor: DiffOptionsColor;
  15. export declare const noColor: (string: string) => string;
  16. export declare const HINT_ARG = "hint";
  17. export declare const SNAPSHOT_ARG = "snapshot";
  18. export declare const PROPERTIES_ARG = "properties";
  19. export declare const matcherHintFromConfig: ({ context: { isNot, promise }, hint, inlineSnapshot, matcherName, properties, }: MatchSnapshotConfig, isUpdatable: boolean) => string;
  20. export declare const printExpected: (val: unknown) => string;
  21. export declare const printReceived: (val: unknown) => string;
  22. export declare const printPropertiesAndReceived: (properties: object, received: object, expand: boolean) => string;
  23. export declare const printSnapshotAndReceived: (a: string, b: string, received: unknown, expand: boolean) => string;
  24. export {};