Comments (14)
Just encountered this one too, I've created a PR. Thanks everyone for the report :)
from jest-dom.
🎉 This fix is included in version 6.4.5 🎉
The release is available on:
Your semantic-release bot 📦🚀
from jest-dom.
v6.4.5
fixed the issue for me, thank you for the fast fix!
from jest-dom.
Looking at commits:
There is this 1 commit between 6.4.2 and 6.4.3 that isn't in in the release log but contains changes that might be relevant.
from jest-dom.
Any ETA?
from jest-dom.
There's no need for this to block anyone or to rush the maintainers to release a fix, just downgrade to the last working version. Google for something like 'npm install specific version'.
I am on my phone so this might not be 100% copy/pastable but try something like npm i "@testing-library/[email protected]" --save-dev
from jest-dom.
I encountered this as well. Inspecting my node_modules/@testing-library/jest-dom/dist/node-modules, there is no lodash in here, only dom-accessibility-api (missing also other packages) from node_modules/@testing-library/jest-dom/dist/index.ts:
require('redent');
require('@adobe/css-tools');
require('dom-accessibility-api');
require('aria-query');
require('chalk');
require('lodash/isEqualWith'); // this one is the failing one
require('css.escape');
from jest-dom.
Please fix 😭
from jest-dom.
Guys come on... :D
from jest-dom.
Hit by this too. Do you need any help guys?
from jest-dom.
Looking at commits: There is this 1 commit between 6.4.2 and 6.4.3 that isn't in in the release log but contains changes that might be relevant.
@re-taro Can you check?
from jest-dom.
Hit by this just now as well.
Obv before the issue if fixed you can pin to 6.4.2
.
from jest-dom.
any temporary fix?
from jest-dom.
Currently stuck because of this issue
from jest-dom.
Related Issues (20)
- Support assertions for each DOM query HOT 8
- toHaveStyle fails on custom property names containing uppercase letters HOT 4
- TypeScript types for the `"./matchers"` export don't match implementations HOT 3
- Regex support for `.toHaveClass()` HOT 9
- toBeVisible is not seeing svelte-kit classes HOT 1
- `"types": ["jest", "@testing-library/jest-dom"]` not working after v6 upgrade HOT 3
- .toHaveAttribute('disabled') and .toBeDisabled() HOT 1
- toHaveStyle does not behave consistently between number and string values HOT 10
- toHaveStyle for property `font-size` behaves incorrectly for number values HOT 2
- Does not work with vitest 1.x.x HOT 10
- `.toHaveStyle()` doesn't know about aspect-ratio HOT 6
- Property 'toBeInTheDocument, toBeDisabled, etc' does not exist on type 'JestMatchers<HTMLElement>' HOT 5
- Types breakage in v6.4.0 HOT 9
- Remove unused and deprecated package `jest-environment-jsdom-sixteen`
- [attribute selector]:has(+ el) pseudo-class selector with emotionStyled reported as syntax error
- Memory leak when importing @testing-library/jest-dom in jest-setup file with NodeJS 20
- Cost effective lodash HOT 2
- toHaveStyles always report hover style HOT 7
- @starting-style - Error: :1:1329: missing '}'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-dom.