File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -522,7 +522,9 @@ describe('App', () => {
522522 await screen . findByText ( 'URL not allowed for this account' ) ;
523523 expect ( mockClearToken ) . not . toHaveBeenCalled ( ) ;
524524 expect ( screen . queryByText ( 'Add access token' ) ) . not . toBeInTheDocument ( ) ;
525- expect ( screen . queryByText ( 'Access token was rejected. Paste a valid token to continue.' ) ) . not . toBeInTheDocument ( ) ;
525+ expect (
526+ screen . queryByText ( 'Access token was rejected. Paste a valid token to continue.' )
527+ ) . not . toBeInTheDocument ( ) ;
526528 expect ( screen . queryByRole ( 'button' , { name : / T r y .* i n s t e a d / } ) ) . not . toBeInTheDocument ( ) ;
527529 } ) ;
528530
Original file line number Diff line number Diff line change @@ -117,11 +117,7 @@ export function App() {
117117 ) ;
118118 } ;
119119
120- const isActionableStrategySwitch = (
121- message : string ,
122- currentStrategy : string ,
123- retryStrategy : string
124- ) => {
120+ const isActionableStrategySwitch = ( message : string , currentStrategy : string , retryStrategy : string ) => {
125121 if ( currentStrategy !== 'faraday' || retryStrategy !== 'browserless' ) return false ;
126122
127123 const normalized = message . toLowerCase ( ) ;
You can’t perform that action at this time.
0 commit comments