Skip to content

Commit

Permalink
Added console group APIs to NullConsole (#9024)
Browse files Browse the repository at this point in the history
  • Loading branch information
eranimo authored and SimenB committed Oct 26, 2019
1 parent b096c16 commit 0c23c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -31,6 +31,7 @@

- `[expect]` Display `expectedDiff` more carefully in `toBeCloseTo` ([#8389](https://github.com/facebook/jest/pull/8389))
- `[expect]` Avoid incorrect difference for subset when `toMatchObject` fails ([#9005](https://github.com/facebook/jest/pull/9005))
- `[jest-console]` Add missing `console.group` calls to `NullConsole` ([#9024](https://github.com/facebook/jest/pull/9024))
- `[jest-core]` Don't include unref'd timers in --detectOpenHandles results ([#8941](https://github.com/facebook/jest/pull/8941))
- `[jest-diff]` Do not inverse format if line consists of one change ([#8903](https://github.com/facebook/jest/pull/8903))
- `[jest-fake-timers]` `getTimerCount` will not include cancelled immediates ([#8764](https://github.com/facebook/jest/pull/8764))
Expand Down
3 changes: 3 additions & 0 deletions packages/jest-console/src/NullConsole.ts
Expand Up @@ -18,4 +18,7 @@ export default class NullConsole extends CustomConsole {
timeEnd() {}
trace() {}
warn() {}
group() {}
groupCollapsed() {}
groupEnd() {}
}

0 comments on commit 0c23c3b

Please sign in to comment.