Skip to content

Commit

Permalink
fix: removed test logs and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sauravhiremath committed Jun 23, 2020
1 parent 0937cf3 commit 71965e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/jest-reporters/src/Status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class Status {
this._emit();
}

addTestCaseResult(test: Test, testCaseResult: TestCaseResult) {
addTestCaseResult(test: Test, testCaseResult: TestCaseResult): void {
this._currentTestCases.push({test, testCaseResult});
if (!this._showStatus) {
this._emit();
Expand All @@ -126,7 +126,7 @@ export default class Status {
}
}

testStarted(testPath: Config.Path, config: Config.ProjectConfig) {
testStarted(testPath: Config.Path, config: Config.ProjectConfig): void {
this._currentTests.add(testPath, config);
if (!this._showStatus) {
this._emit();
Expand Down
1 change: 0 additions & 1 deletion packages/jest-reporters/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export const getSummary = (
const valuesForCurrentTestCases = getValuesCurrentTestCases(
options ? options.currentTestCases : [],
);
// console.log(aggregatedQuickStats.numPassingTests);

const estimatedTime = (options && options.estimatedTime) || 0;
const snapshotResults = aggregatedResults.snapshot;
Expand Down
3 changes: 0 additions & 3 deletions packages/jest-types/src/Circus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,4 @@ export type TestEntry = {
duration?: number | null;
status?: TestStatus | null; // whether the test has been skipped or run already
timeout?: number;
// children: Array<DescribeBlock | TestEntry>; // Added to include property from DescribeBlock
// hooks: Array<Hook>; // Added to include property from DescribeBlock
// tests: Array<TestEntry>; // Added to include property from DescribeBlock
};

0 comments on commit 71965e4

Please sign in to comment.