文件操作 - Explore.test.tsx.snap
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/grafana/public/app/features/explore/__snapshots__/Explore.test.tsx.snap
编辑文件内容
// Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Explore should render component 1`] = ` <div aria-label="Explore" className="explore" > <Connect(UnConnectedExploreToolbar) exploreId="left" onChangeTime={[Function]} /> <div className="explore-container" > <div className="panel-container css-kj45dn-queryContainer" > <QueryRows exploreEvents={ Emitter { "emitter": EventEmitter { "_events": Object {}, "_eventsCount": 0, }, } } exploreId="left" queryKeys={Array []} /> <SecondaryActions addQueryRowButtonDisabled={false} addQueryRowButtonHidden={false} onClickAddQueryRowButton={[Function]} onClickRichHistoryButton={[Function]} richHistoryButtonActive={false} /> </div> <Component queryError={Object {}} /> <AutoSizer disableHeight={true} disableWidth={false} onResize={[Function]} style={Object {}} > <Component /> </AutoSizer> </div> </div> `;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件