Skip to content

Commit

Permalink
chore: Review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark1626 committed Aug 19, 2019
1 parent 872a226 commit f9db016
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
7 changes: 1 addition & 6 deletions e2e/transform/babel-jest-ignored/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,5 @@
*/

module.exports = {
only: [
'blablabla',
new RegExp('jest-jasmine2'),
new RegExp('jest-circus'),
new RegExp('jest-each'),
],
only: ['blablabla', /jest-jasmine2/, /jest-circus/, /jest-each/],
};
6 changes: 3 additions & 3 deletions e2e/transform/transform-testrunner/test-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {JestEnvironment} from '@jest/environment';
import Runtime from 'jest-runtime';
import {TestResult} from '@jest/test-result';

export default function testRunner(
export default async function testRunner(
globalConfig: Config.GlobalConfig,
config: Config.ProjectConfig,
environment: JestEnvironment,
runtime: Runtime,
testPath: string
): Promise<TestResult> {
return Promise.resolve({
return {
numFailingTests: 0,
numPassingTests: 1,
numPendingTests: 0,
Expand All @@ -40,5 +40,5 @@ export default function testRunner(
title: 'sample test',
},
],
} as TestResult);
} as TestResult;
}
3 changes: 2 additions & 1 deletion packages/jest-runner/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
{"path": "../jest-test-result"},
{"path": "../jest-types"},
{"path": "../jest-worker"},
{"path": "../jest-util"}
{"path": "../jest-util"},
{"path": "../jest-transform"}
]
}

0 comments on commit f9db016

Please sign in to comment.