@jest/console 25.2.4 build output contains an error
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;
Does not fail with compilation error.
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
This has to be a dirty working directory when I published. Bah. Will fix
I am also seeing this with version 25.2.4
I'll publish a fixed package today. You can upgrade to [email protected] to unblock in the meantime
Fixed in 25.2.6