Skip to content

Commit

Permalink
i lied, one more
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Feb 25, 2019
1 parent f254cb0 commit 949baad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/jest-runner/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import exit from 'exit';
import throat from 'throat';
import Worker from 'jest-worker';
import runTest from './runTest';
import {WorkerData} from './testWorker';
import {worker} from './testWorker';
import {
OnTestFailure,
OnTestStart,
Expand All @@ -25,7 +25,7 @@ import {
const TEST_WORKER_PATH = require.resolve('./testWorker');

interface WorkerInterface extends Worker {
worker: (workerData: WorkerData) => Promise<TestResult.TestResult>;
worker: typeof worker;
}

class TestRunner {
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-runner/src/testWorker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Runtime from 'jest-runtime';
import {ErrorWithCode, TestRunnerContext} from './types';
import runTest from './runTest';

export type WorkerData = {
type WorkerData = {
config: Config.ProjectConfig;
globalConfig: Config.GlobalConfig;
path: Config.Path;
Expand Down

0 comments on commit 949baad

Please sign in to comment.