fix(tests): match showInactive() in paired-client-window-reveal spec (#17362)

PR #17347 switched the reveal helper from window.show() to
window.showInactive() and updated the thrown message, but left the
unit test's regex/title matching the old show() wording — failing
deterministically in CI (which builds against current main) while
passing on any stale checkout that predates #17347.
This commit is contained in:
Neil
2026-08-30 00:57:14 -07:00
committed by GitHub
parent 85de42cdce
commit 2259e06ff6
@@ -32,13 +32,13 @@ describe('assertPairedClientWindowRevealed', () => {
).toThrow(/no BrowserWindow/)
})
it('rejects a window that stays hidden after show()', () => {
it('rejects a window that stays hidden after showInactive()', () => {
expect(() =>
assertPairedClientWindowRevealed({
isVisible: false,
wasVisible: false,
windowCount: 2
})
).toThrow(/stayed hidden after show\(\)/)
).toThrow(/stayed hidden after showInactive\(\)/)
})
})