1
0
mirror of https://github.com/lancedikson/bowser synced 2026-09-24 21:14:32 +00:00

Fix Travis Tests

This commit is contained in:
Robert Sandell
2018-12-30 10:18:58 +02:00
parent d9693088cc
commit 97d877f9c2
3 changed files with 20 additions and 20 deletions

View File

@@ -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;
},