mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Providing a GA tracking ID allows administrators to analyze how the portal is used by their users in large environments, i.e., with many users. This will make even more sense when we have users and admins management interfaces.
11 lines
311 B
TypeScript
11 lines
311 B
TypeScript
import React from 'react';
|
|
import { mount } from "enzyme";
|
|
import Tracker from "./Tracker";
|
|
|
|
import { MemoryRouter as Router } from 'react-router-dom';
|
|
|
|
const mountWithRouter = node => mount(<Router>{node}</Router>);
|
|
|
|
it('renders without crashing', () => {
|
|
mountWithRouter(<Tracker trackingIDs={[]} />);
|
|
}); |