Skip to content

Commit f6603b1

Browse files
committed
add tests for browser name
1 parent 62ddad4 commit f6603b1

5 files changed

Lines changed: 368 additions & 170 deletions

File tree

__test__/support/models/BrowserUserAgent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const BrowserUserAgent = {
1919
FirefoxMobileSupported:
2020
'Mozilla/5.0 (Android 4.4; Mobile; rv:44.0) Gecko/48.0 Firefox/48.0',
2121
FirefoxTabletSupported:
22-
'Mozilla/5.0 (Android 4.4; Mobile ; rv:44.0) Gecko/48.0 Firefox/48.0',
22+
'Mozilla/5.0 (Android 4.4; Tablet; rv:44.0) Gecko/48.0 Firefox/48.0',
2323
FirefoxWindowsUnSupported:
2424
'Mozilla/5.0 (Windows NT x.y; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0',
2525
FirefoxWindowsSupported:

package-lock.json

Lines changed: 64 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
"@typescript-eslint/eslint-plugin": "^5.36.1",
4848
"@typescript-eslint/parser": "^5.36.1",
4949
"@vitest/coverage-v8": "3.2.4",
50+
"bowser": "^2.11.0",
51+
"chalk": "^5.4.1",
5052
"deepmerge": "^4.2.2",
5153
"eslint": "^8.23.0",
5254
"eslint-config-prettier": "9.0.0",

0 commit comments

Comments
 (0)