github.com/tilt-dev/tilt@v0.33.15-0.20240515162809-0a22ed45d8a0/web/src/__snapshots__/FatalErrorModal.test.tsx.snap (about) 1 // Jest Snapshot v1, https://goo.gl/fbAQLP 2 3 exports[`FatalErrorModal does render if there is a fatal error and the modal hasn't been closed 1`] = ` 4 <div 5 className="ReactModal__Overlay" 6 onClick={[Function]} 7 onMouseDown={[Function]} 8 style={ 9 Object { 10 "backgroundColor": "rgba(255, 255, 255, 0.75)", 11 "bottom": 0, 12 "left": 0, 13 "position": "fixed", 14 "right": 0, 15 "top": 0, 16 } 17 } 18 > 19 <div 20 aria-modal={true} 21 className="ReactModal__Content FatalErrorModal" 22 onClick={[Function]} 23 onKeyDown={[Function]} 24 onMouseDown={[Function]} 25 onMouseUp={[Function]} 26 role="dialog" 27 style={Object {}} 28 tabIndex="-1" 29 > 30 <h2 31 className="FatalErrorModal-title" 32 > 33 Fatal Error 34 </h2> 35 <div 36 className="FatalErrorModal-pane" 37 > 38 <p> 39 Tilt has encountered a fatal error: 40 i'm an error 41 </p> 42 <p> 43 Once you fix this issue you'll need to restart Tilt. In the meantime feel free to browse through the UI. 44 </p> 45 </div> 46 </div> 47 </div> 48 `; 49 50 exports[`FatalErrorModal doesn't render if there is a fatal error and the modal has been closed 1`] = `null`; 51 52 exports[`FatalErrorModal doesn't render if there's no fatal error and the modal hasn't been closed 1`] = `null`;