/** * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * */ import { JestEnvironment } from '@jest/environment'; import { TestResult } from '@jest/test-result'; import { Config } from '@jest/types'; import { Jasmine } from 'jest-jasmine2/build/types'; import Runtime from 'jest-runtime'; import { Test } from './types'; export default function testRunner(globalConfig: Config.GlobalConfig, projectConfig: Config.ProjectConfig, environment: JestEnvironment & Jasmine, runtime: Runtime, testPath: string, test: Test): Promise;