Added dependency on bowser to have a more accurate browser and OS detection

This commit is contained in:
Alejandro Celaya
2020-04-10 19:16:44 +02:00
parent 87ffbefa61
commit 6fede88072
6 changed files with 37 additions and 37 deletions

View File

@@ -56,7 +56,7 @@ describe('VisitsParser', () => {
expect(os).toEqual({
Linux: 3,
Windows: 1,
MacOS: 1,
macOS: 1,
});
});
@@ -137,7 +137,7 @@ describe('VisitsParser', () => {
},
{
browser: 'Firefox',
os: 'MacOS',
os: 'macOS',
referer: 'google.com',
country: 'United States',
city: 'New York',