]> source.dussan.org Git - sonarqube.git/blob
b2fc2f786f1e63bdfaece42fd5ec1d17ed135d6d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <Modal
5   contentLabel="users.tokens"
6   onRequestClose={[MockFunction]}
7   size="large"
8 >
9   <header
10     className="modal-head"
11   >
12     <h2>
13       <FormattedMessage
14         defaultMessage="users.user_X_tokens"
15         id="users.user_X_tokens"
16         values={
17           {
18             "user": <em>
19               John Doe
20             </em>,
21           }
22         }
23       />
24     </h2>
25   </header>
26   <div
27     className="modal-body modal-container"
28   >
29     <withCurrentUserContext(TokensForm)
30       deleteConfirmation="inline"
31       displayTokenTypeInput={false}
32       login="john.doe"
33       updateTokensCount={[MockFunction]}
34     />
35   </div>
36   <footer
37     className="modal-foot"
38   >
39     <ResetButtonLink
40       onClick={[MockFunction]}
41     >
42       Done
43     </ResetButtonLink>
44   </footer>
45 </Modal>
46 `;