Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue4969: Standardize filenames: jest-runner pkg #7464

Merged
merged 6 commits into from
Dec 7, 2018
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/jest-runner/src/__tests__/test_runner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jest.mock('jest-worker', () =>
),
);

jest.mock('../test_worker', () => {});
jest.mock('../testWorker', () => {});

test('injects the serializable module map into each worker in watch mode', () => {
const globalConfig = {maxWorkers: 2, watch: true};
Expand Down
6 changes: 3 additions & 3 deletions packages/jest-runner/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ import type {
TestWatcher,
} from 'types/TestRunner';

import typeof {worker} from './test_worker';
import typeof {worker} from './testWorker';

import exit from 'exit';
import runTest from './run_test';
import runTest from './runTest';
import throat from 'throat';
import Worker from 'jest-worker';

const TEST_WORKER_PATH = require.resolve('./test_worker');
const TEST_WORKER_PATH = require.resolve('./testWorker');

type WorkerInterface = Worker & {worker: worker};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import exit from 'exit';
import HasteMap from 'jest-haste-map';
import {separateMessageFromStack} from 'jest-message-util';
import Runtime from 'jest-runtime';
import runTest from './run_test';
import runTest from './runTest';

export type WorkerData = {|
config: ProjectConfig,
Expand Down