index.d.ts 740 B

12345678910111213141516
  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 { JestEnvironment } from '@jest/environment';
  8. import type { TestResult } from '@jest/test-result';
  9. import type { Config } from '@jest/types';
  10. import type { RuntimeType as Runtime } from 'jest-runtime';
  11. import type { Jasmine as JestJasmine } from './types';
  12. declare function jasmine2(globalConfig: Config.GlobalConfig, config: Config.ProjectConfig, environment: JestEnvironment, runtime: Runtime, testPath: string): Promise<TestResult>;
  13. declare namespace jasmine2 {
  14. type Jasmine = JestJasmine;
  15. }
  16. export = jasmine2;