🚨 Breaking Changes
- browser: Require a provider factory instead of a string - by @sheremet-va in #8445 (606cb)
🚀 Features
- api:
- Add
relativeModuleId
toTestModule
- by @sheremet-va in #8505 (3be09)
- Add
- browser:
- Support iframe locator with playwright provider - by @sheremet-va in #8016 (57b2c)
- Add
length
property to locators,toHaveLength
now accepts locators - by @sheremet-va in #8512 (2308c)
- coverage:
autoUpdate
to support percentage formatting - by @Battjmo and @AriPerkkio in #8456 (99e01)
🐞 Bug Fixes
- Support
import.meta.resolve
on Vite 7 - by @hi-ogawa in #8493 (549d3) - Show the assertion error first when
expect.poll
assertion fails - by @sheremet-va in #8483 (fb450) - Override fake timers when
useFakeTimers
is called multiple times - by @sheremet-va in #8504 (ed7e3) - deps: Update all non-major dependencies - by @sheremet-va in #8382 (704eb)
- runner: Don't bundle runner with utils - by @sheremet-va in #8496 (2b4b0)
- spy: Fix spyOn types with optional method - by @sheremet-va in #8499 (d3afa)
🏎 Performance
- Use ES2022 language features - by @TrevorBurnham in #8492 (bb34c)
- Delay populating node-globals - by @sheremet-va in #8506 (41cbc)
- Get
workerId
from a global object - by @sheremet-va in #8507 (46b13) - Update
tinypool
tov2.0.0
- by @AriPerkkio in #8513 (a8c7f)