test: exercise real mobile controller and repair weak assertions (#33248)

* test: exercise mobile controller and strengthen audit assertions

* test: use array syntax required by React Doctor

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
This commit is contained in:
OrcaWin
2026-10-24 13:54:31 -07:00
committed by GitHub
co-authored by OrcaWin
parent 5ee74f4f83
commit c90d0f93c0
18 changed files with 232 additions and 157 deletions
+3 -1
View File
@@ -17,7 +17,9 @@ describe('isCodexAuthError', () => {
describe('extractCodexAuthError', () => {
it('returns the first matching auth line', () => {
expect(
extractCodexAuthError('startup log\nERROR: not logged in. Please sign in again.\nmore log')
extractCodexAuthError(
'startup log\nERROR: not logged in. Please sign in again.\nplease reauthenticate\nmore log'
)
).toBe('ERROR: not logged in. Please sign in again.')
})