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.

jestAdapterInit.d.ts 1.5KB

123456789101112131415161718192021222324252627282930313233343536
  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. /// <reference types="node" />
  8. import type { JestEnvironment } from '@jest/environment';
  9. import { TestFileEvent, TestResult } from '@jest/test-result';
  10. import type { Config, Global } from '@jest/types';
  11. import { SnapshotStateType } from 'jest-snapshot';
  12. import globals from '..';
  13. import { Expect } from './jestExpect';
  14. declare type Process = NodeJS.Process;
  15. interface JestGlobals extends Global.TestFrameworkGlobals {
  16. expect: Expect;
  17. }
  18. export declare const initialize: ({ config, environment, globalConfig, localRequire, parentProcess, sendMessageToJest, setGlobalsForRuntime, testPath, }: {
  19. config: Config.ProjectConfig;
  20. environment: JestEnvironment;
  21. globalConfig: Config.GlobalConfig;
  22. localRequire: <T = unknown>(path: Config.Path) => T;
  23. testPath: Config.Path;
  24. parentProcess: Process;
  25. sendMessageToJest?: TestFileEvent<"test-file-start" | "test-file-success" | "test-file-failure" | "test-case-result"> | undefined;
  26. setGlobalsForRuntime: (globals: JestGlobals) => void;
  27. }) => Promise<{
  28. globals: Global.TestFrameworkGlobals;
  29. snapshotState: SnapshotStateType;
  30. }>;
  31. export declare const runAndTransformResultsToJestFormat: ({ config, globalConfig, testPath, }: {
  32. config: Config.ProjectConfig;
  33. globalConfig: Config.GlobalConfig;
  34. testPath: string;
  35. }) => Promise<TestResult>;
  36. export {};