Skip to content

Commit

Permalink
Fix the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Finesse committed Oct 18, 2024
1 parent 428a70d commit 69130ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sources/user_agent.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Sources', () => {
it('returns an expected value', () => {
const value = getUserAgent()
const version = getBrowserEngineVersion() ?? { major: 0, minor: 0 }
expect(value).toMatch(new RegExp(`(Safari|Chrome|Firefox)/${version.major}.${version.minor}`))
expect(value).toMatch(new RegExp(`(AppleWebKit|Chrome|Firefox)/${version.major}.${version.minor}`))
})
})
})

0 comments on commit 69130ce

Please sign in to comment.