mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-29 17:04:26 +03:00
include SM-T within Samsung tablet model field. add 2 more tests.
This commit is contained in:
@@ -245,7 +245,27 @@
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Samsung",
|
||||
"model" : "231",
|
||||
"model" : "SM-T231",
|
||||
"type" : "tablet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "Samsung SM-T700",
|
||||
"ua" : "Mozilla/5.0 (Linux; Android 4.4.2; SM-T700 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.135 Safari/537.36",
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Samsung",
|
||||
"model" : "SM-T700",
|
||||
"type" : "tablet"
|
||||
}
|
||||
},
|
||||
{
|
||||
"desc" : "Samsung SM-T520",
|
||||
"ua" : "Mozilla/5.0 (Linux; Android 4.4.2; SM-T520 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.135 Safari/537.36",
|
||||
"expect" :
|
||||
{
|
||||
"vendor" : "Samsung",
|
||||
"model" : "SM-T520",
|
||||
"type" : "tablet"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user