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.

utils.d.ts 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 type { Config } from '@jest/types';
  8. /**
  9. * Finds the test environment to use:
  10. *
  11. * 1. looks for jest-environment-<name> relative to project.
  12. * 1. looks for jest-environment-<name> relative to Jest.
  13. * 1. looks for <name> relative to project.
  14. * 1. looks for <name> relative to Jest.
  15. */
  16. export declare const resolveTestEnvironment: ({ rootDir, testEnvironment: filePath, requireResolveFunction, }: {
  17. rootDir: Config.Path;
  18. testEnvironment: string;
  19. requireResolveFunction?: ((moduleName: string) => string) | undefined;
  20. }) => string;
  21. /**
  22. * Finds the watch plugins to use:
  23. *
  24. * 1. looks for jest-watch-<name> relative to project.
  25. * 1. looks for jest-watch-<name> relative to Jest.
  26. * 1. looks for <name> relative to project.
  27. * 1. looks for <name> relative to Jest.
  28. */
  29. export declare const resolveWatchPlugin: (resolver: string | undefined | null, { filePath, rootDir, requireResolveFunction, }: {
  30. filePath: string;
  31. rootDir: Config.Path;
  32. requireResolveFunction?: ((moduleName: string) => string) | undefined;
  33. }) => string;
  34. /**
  35. * Finds the runner to use:
  36. *
  37. * 1. looks for jest-runner-<name> relative to project.
  38. * 1. looks for jest-runner-<name> relative to Jest.
  39. * 1. looks for <name> relative to project.
  40. * 1. looks for <name> relative to Jest.
  41. */
  42. export declare const resolveRunner: (resolver: string | undefined | null, { filePath, rootDir, requireResolveFunction, }: {
  43. filePath: string;
  44. rootDir: Config.Path;
  45. requireResolveFunction?: ((moduleName: string) => string) | undefined;
  46. }) => string;
  47. export declare const resolveSequencer: (resolver: string | undefined | null, { filePath, rootDir, requireResolveFunction, }: {
  48. filePath: string;
  49. rootDir: Config.Path;
  50. requireResolveFunction?: ((moduleName: string) => string) | undefined;
  51. }) => string;