Skip to content
This repository has been archived by the owner on May 29, 2023. It is now read-only.

chore(deps): Update dependency @testing-library/dom to v9 #38

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Mar 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@testing-library/dom ^7.31.2 -> ^9.3.0 age adoption passing confidence

Release Notes

testing-library/dom-testing-library

v9.3.0

Compare Source

Features
  • waitFor: Support async unstable_advanceTimersWrapper (#​1229) (d09b3c2)

v9.2.0

Compare Source

Features

v9.1.0

Compare Source

Features

v9.0.1

Compare Source

Bug Fixes

v9.0.0

Compare Source

Bug Fixes
Features
BREAKING CHANGES
  • ByRole: Only allow string as a role.
    Drop support for exact, trim, collapseWhitespace, and normalizer options.
  • Minimum supported Node.js version is now 14.x

v8.20.0

Compare Source

Features

v8.19.1

Compare Source

Bug Fixes

v8.19.0

Compare Source

Features

v8.18.1

Compare Source

Bug Fixes

v8.18.0

Compare Source

Features

v8.17.1

Compare Source

Bug Fixes

v8.17.0

Compare Source

Features

v8.16.1

Compare Source

Bug Fixes

v8.16.0

Compare Source

Features

v8.15.0

Compare Source

Features

v8.14.1

Compare Source

Bug Fixes

v8.14.0

Compare Source

Features

v8.13.0

Compare Source

Features

v8.12.0

Compare Source

Features

v8.11.4

Compare Source

Bug Fixes
  • reset regexg to prevent regexg with global flags to not match every element (#​1116) (90d420d)

v8.11.3

Compare Source

Bug Fixes

v8.11.2

Compare Source

Bug Fixes
  • within: Add extra type paramater to allow reassigning in TypeScript (#​1077) (1f143e5)

v8.11.1

Compare Source

Bug Fixes
  • wait-for: Don't queue microtasks after condition is met (#​1073) (1fc17be)

v8.11.0

Compare Source

Features
  • Prioritize accessible names check higher than inaccessibility check in byRole queries (#​1068) (2866544)

v8.10.1

Compare Source

Bug Fixes

v8.10.0

Compare Source

Features

v8.9.1

Compare Source

Bug Fixes
  • ByRole: Ensure valid query selectors in all transpilation targets (#​1055) (b569a1b)

v8.9.0

Compare Source

Features

v8.7.2

Compare Source

Bug Fixes

v8.7.1

Compare Source

Bug Fixes
  • buildQuery: get*Error functions receive same Arguments type as queryAllBy parameter (#​1041) (6171979)

v8.7.0

Compare Source

Features

v8.6.0

Compare Source

Features

v8.5.0

Compare Source

Features

v8.4.0

Compare Source

Bug Fixes
  • Use syntax compatible with older TypeScript versions (#​1026) (8311c8d)
Features

v8.3.0

Compare Source

Features

v8.2.0

Compare Source

Features

v8.1.1

Compare Source

Bug Fixes

v8.1.0

Compare Source

Features

v8.0.0

Compare Source

Recommendations
  1. If you're using jest fake timers make sure you use modern timers
    jest 27:
    -jest.useFakeTimers('legacy')
    +jest.useFakeTimers('modern')
     // jest.config.js
    -"timers": "legacy",
    +"timers": "modern",
    jest 26:
    -jest.useFakeTimers()
    +jest.useFakeTimers('modern')
     // jest.config.js
    -"timers": "legacy",
    +"timers": "modern",
chore
BREAKING CHANGES
  • Remove deprecated waitFormDOMChange
  • Remove deprecated waitForElement
  • The timeout in waitFor(callback, { interval, timeout } ) now uses the same clock as interval. Previously timeout was always using the real clock while interval was using the global clock which could've been mocked out. For the old behavior I'd recommend waitFor(callback, { interval, timeout: Number.POSITIVE_INFINITY }) and rely on your test runner to timeout considering real timers.
  • <script />, <style /> and comment nodes are now ignored by default in prettyDOM .If you whish to return to the old behavior, use a custom filterNode function. In this case prettyDOM(element, { filterNode: () => true }).
  • node 10 is no longer supported. It reached its end-of-life on 30.04.2021.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@coveralls
Copy link

coveralls commented Mar 16, 2023

Pull Request Test Coverage Report for Build 5103678439

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 100.0%

Totals Coverage Status
Change from base Build 1096149931: 0.0%
Covered Lines: 13
Relevant Lines: 13

💛 - Coveralls

@renovate renovate bot force-pushed the renovate/testing-library-dom-9.x branch from 922c4d9 to f0abcef Compare March 25, 2023 01:59
@renovate renovate bot force-pushed the renovate/testing-library-dom-9.x branch from f0abcef to cada735 Compare May 28, 2023 10:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant