Created tests for non-orphan visits components

This commit is contained in:
Alejandro Celaya
2022-02-05 16:37:01 +01:00
parent 9bc5a050eb
commit 5edb62e76b
5 changed files with 72 additions and 1 deletions

View File

@@ -48,6 +48,7 @@ describe('<ShortUrlVisits />', () => {
const visitHeader = wrapper.find(ShortUrlVisitsHeader);
expect(visitStats).toHaveLength(1);
expect(visitStats.prop('isOrphanVisits')).not.toBeDefined();
expect(visitHeader).toHaveLength(1);
});
});