1
0
mirror of https://github.com/lancedikson/bowser synced 2026-03-02 03:40:27 +00:00

Eslint fixes

This commit is contained in:
Denis Demchenko
2018-06-27 23:09:45 +03:00
parent 6aedccecd4
commit f202c1cd30
6 changed files with 18 additions and 22 deletions

View File

@@ -1,7 +1,7 @@
import test from 'ava';
import { getFirstMatch } from '../../src/utils';
test('getFirstMatch', t => {
test('getFirstMatch', (t) => {
const matchedVersion = getFirstMatch(/version\/(\S+)/i, 'Chrome Version/11.11.11');
t.is(matchedVersion, '11.11.11');
});