File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 "@backstage/integration-react" : " ^1.1.27" ,
1616 "@backstage/plugin-catalog" : " ^1.20.0" ,
1717 "@backstage/plugin-permission-react" : " ^0.5.1" ,
18- "@backstage/plugin-user-settings" : " ^0.8.6 " ,
18+ "@backstage/plugin-user-settings" : " ^0.9.4 " ,
1919 "@backstage/theme" : " ^0.7.3" ,
2020 "@kpt/backstage-plugin-cad" : " *" ,
2121 "@material-ui/core" : " ^4.12.2" ,
Original file line number Diff line number Diff line change 1616
1717import React from 'react' ;
1818import { renderWithEffects } from '@backstage/test-utils' ;
19+
20+ jest . mock ( '@backstage/plugin-user-settings' , ( ) => ( {
21+ UserSettingsPage : ( ) => < div > Settings Page</ div > ,
22+ Settings : ( ) => < div > Settings</ div > ,
23+ UserSettingsSignInAvatar : ( ) => < div > User Avatar</ div > ,
24+ } ) ) ;
25+
1926import App from './App' ;
2027
2128describe ( 'App' , ( ) => {
You can’t perform that action at this time.
0 commit comments