@jest/console 25.2.4 build output ts3.4 contains error
See original GitHub issue🐛 Bug Report
@jest/console 25.2.4 build output contains an error
To Reproduce
Install jest in a npm project.
Open node_modules\@jest\console\build\ts3.4\CustomConsole.d.ts look at line 22:
assert(value: unknown, message?: string | Error): asserts value;
It produces:
ERROR in node_modules/@jest/console/build/ts3.4/CustomConsole.d.ts:22:61 - error TS1144: '{' or ';' expected.
22 assert(value: unknown, message?: string | Error): asserts value;
Expected behavior
Does not fail with compilation error.
envinfo
System:
OS: Windows 10 10.0.18363
CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
Binaries:
Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.15.2 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
npmPackages:
jest: ^25.2.4 => 25.2.4
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
How do I test a jest console.log - javascript - Stack Overflow
If you want to check that console.log received the right parameter (the one that you passed in) you should check mock of your...
Read more >Jest/CHANGELOG and Jest Releases (Page 3) | LibHunt
25.2.5 was published without changes from 25.2.4 - 25.2.6 includes all changes ... [jest-message-util] Check for common errors when using the wrong test ......
Read more >Ignitus-Client-Side-Development - Projects - FOSSA
Generate errors that contain a code frame that point to source locations. Licenses: MIT ... Syntax highlight JavaScript strings for output in terminals....
Read more >Source - GitHub
27.0.6 ### Fixes - `[*]` Publish all modules to include the build change in ... 25.2.4 ### Features - `[jest-message-util]` Check for common...
Read more >https://docs.cloudera.com/documentation/other/shar...
Where the Third-Party Software contains dual or multiple licensing options, ... You must cause the Source Code for any Derivative Works that You...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed in 25.2.6
I’ll publish a fixed package today. You can upgrade to TS@3.8 to unblock in the meantime