mirror of
https://github.com/lancedikson/bowser
synced 2026-09-24 21:14:32 +00:00
Fix Travis Tests
This commit is contained in:
@@ -16,13 +16,13 @@ export default [
|
||||
{
|
||||
test: [/huawei/i],
|
||||
describe(ua) {
|
||||
const model = getFirstMatch(/(can\-l01)/i, ua) && "Nova";
|
||||
const model = getFirstMatch(/(can-l01)/i, ua) && 'Nova';
|
||||
const platform = {
|
||||
type: TYPES_LABELS.mobile,
|
||||
vendor: 'Huawei'
|
||||
vendor: 'Huawei',
|
||||
};
|
||||
if (model) {
|
||||
platform.model = model;
|
||||
platform.model = model;
|
||||
}
|
||||
return platform;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user