Skip to content

Commit 55df621

Browse files
add spec
1 parent 72b7d2d commit 55df621

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Specs/Browser/Browser.js

+9
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,15 @@ describe('Browser.parseUA', function(){
228228
name: 'chrome',
229229
version: 33
230230
}
231+
},
232+
windowsmobile: {
233+
desc: 'Windows Phone 8.1',
234+
string: 'Mozilla/5.0 (Mobile; Windows Phone 8.1; Android 4.0; ARM; Trident/7.0; Touch; rv:11.0; IEMobile/11.0; SAMSUNG; GT-I8750) like iPhone OS 7_0_3 Mac OS X AppleWebKit/537 (KHTML, like Gecko) Mobile Safari/537',
235+
expect: {
236+
name: 'ie',
237+
version: 11,
238+
platform: 'windowsmobile'
239+
}
231240
}
232241
};
233242

0 commit comments

Comments
 (0)