runGlobalHook.d.ts 524 B

1234567891011121314
  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. import type { Test } from 'jest-runner';
  9. declare const _default: ({ allTests, globalConfig, moduleName, }: {
  10. allTests: Array<Test>;
  11. globalConfig: Config.GlobalConfig;
  12. moduleName: 'globalSetup' | 'globalTeardown';
  13. }) => Promise<void>;
  14. export default _default;