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

Finish Parser#_parseBrowser function

This commit is contained in:
Denis Demchenko
2017-04-09 22:09:47 +03:00
parent 9e46db26ed
commit d57094d857
3 changed files with 61 additions and 16 deletions

View File

@@ -15,3 +15,8 @@ test('getUA', t => {
test('test', t => {
t.truthy(parser.test(/Chrome/i));
});
test('_parseBrowser', t => {
const b = parser._parseBrowser();
t.is(b.name, 'Opera');
});