Skip to content

Commit

Permalink
Merge pull request #85 from ImmoweltGroup/chore/remove-baidu
Browse files Browse the repository at this point in the history
FEATURE: remove baidu browser support
  • Loading branch information
kevroadrunner authored Jan 5, 2022
2 parents 45b7ebf + e41f268 commit 827a420
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ module.exports = [
'last 2 UCAndroid versions',
// Others
'last 2 Electron versions',
'last 2 Samsung versions',
'last 2 Baidu versions'
'last 2 Samsung versions'
];

// Not supported: BlackBerry, OperaMini, Android, ExplorerMobile, Explorer, kaios, OperaMobile
// Not supported: BlackBerry, OperaMini, Android, ExplorerMobile, Explorer, kaios, OperaMobile, Baidu
2 changes: 1 addition & 1 deletion src/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ describe('browserslist-config', () => {
it('should contain special browsers', () => {
expect(clearedConfig.indexOf('Electron')).toBe(11);
expect(clearedConfig.indexOf('Samsung')).toBe(12);
expect(clearedConfig.indexOf('Baidu')).toBe(13);
});

it('should NOT contain unnecessary browsers', () => {
Expand All @@ -66,5 +65,6 @@ describe('browserslist-config', () => {
expect(clearedConfig.indexOf('Explorer')).toBe(-1);
expect(clearedConfig.indexOf('kaios')).toBe(-1);
expect(clearedConfig.indexOf('OperaMobile')).toBe(-1);
expect(clearedConfig.indexOf('Baidu')).toBe(-1);
});
});

0 comments on commit 827a420

Please sign in to comment.