Skip to content

Commit f5338e7

Browse files
committed
fix typo in isMobile() test
1 parent 53cb57b commit f5338e7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/utils/browser.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ describe('Browser Utilities', () => {
2323
const chrome = `Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36
2424
(KHTML, like Gecko) Chrome/50.0.2661.75 Safari/537.36`
2525

26-
const firefox = `Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1;
26+
const ie10 = `Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1;
2727
WOW64; Trident/6.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C; .NET4.0E)`
2828

2929
expect(isMobile(chrome)).to.be.false
30-
expect(isMobile(firefox)).to.be.false
30+
expect(isMobile(ie10)).to.be.false
3131
})
3232

3333
it('should work when not passed an explicit user agent', () => {

0 commit comments

Comments
 (0)