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:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user