Incompatible with `expect` 27.5.1
See original GitHub issueHi,
In expect v27.5.1
(thus jest with same version), exports
are mentioned in package.json
, and jasmineUtils.js
is not in it.
Here are the sample package.json
:
{
"name": "expect",
"version": "27.5.1",
"repository": {
"type": "git",
"url": "https://github.com/facebook/jest.git",
"directory": "packages/expect"
},
"license": "MIT",
"main": "./build/index.js",
"types": "./build/index.d.ts",
"exports": {
".": {
"types": "./build/index.d.ts",
"default": "./build/index.js"
},
"./package.json": "./package.json",
"./build/utils": "./build/utils.js",
"./build/matchers": "./build/matchers.js"
},
}
Moreover, this file is removed from ^28.0.0
branch (currently in alpha).
Cheers !
Issue Analytics
- State:
- Created a year ago
- Reactions:12
- Comments:7 (2 by maintainers)
Top Results From Across the Web
No longer working with the latest version of Jest and TypeScript
The types of 'mock.results' are incompatible between these types. ... jest@27.5.1; jest-mock@27.5.1; jest-when@3.5.1; ts-node@10.7.0 ...
Read more >The engine "node" is incompatible with this module
lock was telling yarn to expect a certain node version - in my case, 'Expected version ">=4 <=9". Got "16.1.0"' - so delete...
Read more >Jest 27: New Defaults for Jest, 2021 edition
In the Jest 26 blog post about a year ago, we announced that after two major releases with few breaking changes, Jest 27...
Read more >jest - npm
Jest. Delightful JavaScript Testing. Developer Ready: Complete and ready to set-up JavaScript testing solution.
Read more >error jest-matcher-utils@27.5.1: The engine “node“ is ...
yarn add 安装包,报错:error expect@28.1.3: The engine "node" is incompatible with this module. nuxt-jest-puppeteer::rocket:Nuxt.js零配置测试, ...
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 FreeTop 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
Top GitHub Comments
Any updates on this? There is an open PR using the same fix as
jest-when
. This issue blocks our whole Angular 13 Update because we have a lot of tests using jest-marbles 😉Can’t believe I missed this issue 🤦🏿♂️. Will provide the fix soon, stay tuned.