mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-30 17:27:44 +03:00
Improve device detection for Meta Quest
This commit is contained in:
@@ -9,13 +9,11 @@ describe('getDeviceVendor', () => {
|
||||
const modelSM = 'SM-A605G';
|
||||
const modelRedmi = 'Redmi Note 8';
|
||||
const modelNexus = 'Nexus 6P';
|
||||
const modelQuest = 'Quest 3';
|
||||
const modelAquos = 'AQUOS-TVX19B';
|
||||
|
||||
assert.equal(getDeviceVendor(modelSM), 'Samsung');
|
||||
assert.equal(getDeviceVendor(modelRedmi), 'Xiaomi');
|
||||
assert.equal(getDeviceVendor(modelNexus), 'Huawei');
|
||||
assert.equal(getDeviceVendor(modelQuest), 'Facebook');
|
||||
assert.equal(getDeviceVendor(modelAquos), 'Sharp');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user