Added column to display if a visit is a potential bot in the visits table

This commit is contained in:
Alejandro Celaya
2021-06-13 11:07:32 +02:00
parent a3550f8e52
commit db0c43dcdd
12 changed files with 88 additions and 22 deletions

View File

@@ -5,6 +5,7 @@ import { rangeOf } from '../../src/utils/utils';
import SimplePaginator from '../../src/common/SimplePaginator';
import SearchField from '../../src/utils/SearchField';
import { NormalizedVisit } from '../../src/visits/types';
import { SelectedServer } from '../../src/servers/data';
describe('<VisitsTable />', () => {
const matchMedia = () => Mock.of<MediaQueryList>({ matches: false });
@@ -18,6 +19,7 @@ describe('<VisitsTable />', () => {
setSelectedVisits={setSelectedVisits}
matchMedia={matchMedia}
isOrphanVisits={isOrphanVisits}
selectedServer={Mock.all<SelectedServer>()}
/>,
);