文件操作 - UserPicker.test.tsx.snap
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/app/core/components/Select/__snapshots__/UserPicker.test.tsx.snap
编辑文件内容
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`UserPicker renders correctly 1`] = ` <div className="user-picker" > <div> <div className="gf-form-input gf-form-input--form-dropdown css-at6rp9-SelectContainer" onKeyDown={[Function]} > <div className="gf-form-select-box__control css-ia584n-Control" onMouseDown={[Function]} onTouchEnd={[Function]} > <div className="gf-form-select-box__value-container css-1q9zhbr-ValueContainer" > <div className="gf-form-select-box__placeholder css-d8h0m4-Placeholder" > Select user </div> <div className="css-zz0hea-Input" > <div className="gf-form-select-box__input" style={ Object { "display": "inline-block", } } > <input aria-autocomplete="list" autoCapitalize="none" autoComplete="off" autoCorrect="off" disabled={false} id="react-select-2-input" onBlur={[Function]} onChange={[Function]} onFocus={[Function]} spellCheck="false" style={ Object { "background": 0, "border": 0, "boxSizing": "content-box", "color": "inherit", "fontSize": "inherit", "label": "input", "opacity": 1, "outline": 0, "padding": 0, "width": "1px", } } tabIndex="0" type="text" value="" /> <div style={ Object { "height": 0, "left": 0, "overflow": "scroll", "position": "absolute", "top": 0, "visibility": "hidden", "whiteSpace": "pre", } } > </div> </div> </div> </div> <div className="gf-form-select-box__indicators css-q46mcr-IndicatorsContainer" > <div className="css-1cvxpvr" > <svg className="css-sr6nr" fill="currentColor" height={16} style={ Object { "marginTop": "7px", } } viewBox="0 0 24 24" width={16} xmlns="http://www.w3.org/2000/svg" > <path d="M17,9.17a1,1,0,0,0-1.41,0L12,12.71,8.46,9.17a1,1,0,0,0-1.41,0,1,1,0,0,0,0,1.42l4.24,4.24a1,1,0,0,0,1.42,0L17,10.59A1,1,0,0,0,17,9.17Z" /> </svg> </div> </div> </div> </div> </div> </div> `;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件