mirror of
https://github.com/stablyai/orca.git
synced 2026-11-03 18:47:40 +00:00
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:
@@ -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.')
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user