Skip to content

Commit

Permalink
chore: remove unused deps from @jest/reporters (#9462)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB authored Jan 24, 2020
1 parent eee8120 commit 895136f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

### Chore & Maintenance

- `[@jest/reporters]` Remove unused dependencies and type exports ([#9462](https://github.com/facebook/jest/pull/9462))
- `[website]` Update pictures of reports when matchers fail ([#9214](https://github.com/facebook/jest/pull/9214))

### Performance
Expand Down
2 changes: 0 additions & 2 deletions packages/jest-reporters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"dependencies": {
"@bcoe/v8-coverage": "^0.2.3",
"@jest/console": "^25.1.0",
"@jest/environment": "^25.1.0",
"@jest/test-result": "^25.1.0",
"@jest/transform": "^25.1.0",
"@jest/types": "^25.1.0",
Expand All @@ -22,7 +21,6 @@
"istanbul-reports": "^3.0.0",
"jest-haste-map": "^25.1.0",
"jest-resolve": "^25.1.0",
"jest-runtime": "^25.1.0",
"jest-util": "^25.1.0",
"jest-worker": "^25.1.0",
"slash": "^3.0.0",
Expand Down
14 changes: 0 additions & 14 deletions packages/jest-reporters/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ import {
SerializableError,
TestResult,
} from '@jest/test-result';
import {JestEnvironment as Environment} from '@jest/environment';
import {FS as HasteFS, ModuleMap} from 'jest-haste-map';
import HasteResolver = require('jest-resolve');
import Runtime = require('jest-runtime');
import {worker} from './coverage_worker';

export type ReporterOnStartOptions = {
Expand Down Expand Up @@ -76,22 +74,10 @@ export type SummaryOptions = {
width?: number;
};

export type TestFramework = (
globalConfig: Config.GlobalConfig,
config: Config.ProjectConfig,
environment: Environment,
runtime: Runtime,
testPath: string,
) => Promise<TestResult>;

export type TestRunnerOptions = {
serial: boolean;
};

export type TestRunnerContext = {
changedFiles?: Set<Config.Path>;
};

export type TestRunData = Array<{
context: Context;
matches: {allTests: number; tests: Array<Test>; total: number};
Expand Down
2 changes: 0 additions & 2 deletions packages/jest-reporters/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
},
"references": [
{"path": "../jest-console"},
{"path": "../jest-environment"},
{"path": "../jest-haste-map"},
{"path": "../jest-resolve"},
{"path": "../jest-runtime"},
{"path": "../jest-test-result"},
{"path": "../jest-types"},
{"path": "../jest-util"},
Expand Down

0 comments on commit 895136f

Please sign in to comment.