jestjs/jest

[Bug]: Console errors from jsdom when using newer css constructs like @container or @layer

fabb opened this issue · 5 comments

fabb commented

Version

29.7.0

Steps to reproduce

See jsdom/jsdom#3597

Expected behavior

@container and @layer should be usable in style tags tested by jsdom

Actual behavior

See jsdom/jsdom#3597

Additional context

This has been fixed in jsdom 24.1.0: https://github.com/jsdom/jsdom/releases/tag/24.1.0
Please update all packages (especially jest-environment-jsdom) to use this new version of jsdom.

Environment

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
  Binaries:
    Node: 20.13.1 - ~/.nvm/versions/node/v20.13.1/bin/node
    Yarn: 1.22.22 - ~/.nvm/versions/node/v20.13.1/bin/yarn
    npm: 10.5.2 - ~/.nvm/versions/node/v20.13.1/bin/npm
  npmPackages:
    jest: 29.7.0 => 29.7.0