mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-29 17:04:26 +03:00
Reorganize test files & directories
This commit is contained in:
38
test/data/ua/device/cat.json
Normal file
38
test/data/ua/device/cat.json
Normal file
@@ -0,0 +1,38 @@
|
||||
[
|
||||
{
|
||||
"desc": "Cat B15Q",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 4.4.2; B15Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Cat",
|
||||
"model": "B15Q",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Cat B35",
|
||||
"ua": "Mozilla/5.0 (Mobile; CAT B35; rv:48.0) Gecko/48.0 Firefox/48.0 KAIOS/2.5.1",
|
||||
"expect": {
|
||||
"vendor": "Cat",
|
||||
"model": "B35",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Cat S22 Flip",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 11; S22 FLIP Build/RKQ1.210416.002) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.6422.165 Mobile Safari/537.36",
|
||||
"expect": {
|
||||
"vendor": "Cat",
|
||||
"model": "S22 FLIP",
|
||||
"type": "mobile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc": "Cat S62 Pro",
|
||||
"ua": "Mozilla/5.0 (Linux; Android 11; S62 Pro Build/RKQ1.210406.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/94.0.4606.85 Mobile Safari/537.36 GSA/12.34.17.23.arm64",
|
||||
"expect": {
|
||||
"vendor": "Cat",
|
||||
"model": "S62 Pro",
|
||||
"type": "mobile"
|
||||
}
|
||||
}
|
||||
]
|
Reference in New Issue
Block a user