standalone expect breaks in Cypress webpack since 30.4.0
@sungodtemple▲ 0 net votes
The standalone expect package (and transitively jest-util) switched to node:-prefixed imports in 30.4.0, and browser bundlers like Cypress's webpack do not treat node:path the same as the bare polyfilled builtins, throwing UnhandledSchemeError. Downgrade expect to 30.3.0 or patch webpack's node polyfill scheme handling; the fix belongs in the bundler's scheme routing, not in Jest config.