Skip to content

Commit

Permalink
test: add test for shorter iOS user agent string (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
innomatics committed Dec 11, 2023
1 parent 934fc01 commit 6f48342
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: Tests
on:
workflow_dispatch:
pull_request:
push:
branches:
Expand Down
7 changes: 7 additions & 0 deletions test/useragents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,13 @@ export const useragents = [
ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Mobile/15E148 Safari/604.1',
yes: ['ios_saf 15']
},
/**
* iOS iPhone App (WKWebView)
*/
{
ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 15_1_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Mobile/15E148',
yes: ['ios_saf 15']
},
/**
* Opera Mini
*/
Expand Down

0 comments on commit 6f48342

Please sign in to comment.