Skip to content

Commit

Permalink
chore: removing parenthesis from isBrowser function
Browse files Browse the repository at this point in the history
  • Loading branch information
panvourtsis authored Nov 3, 2023
1 parent 1b9f3d5 commit 59de60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest/src/utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @flow

const isBrowser = (document) => typeof document !== 'undefined'
const isBrowser = document => typeof document !== 'undefined'

function last(arr) {
return arr.length > 0 ? arr[arr.length - 1] : undefined
Expand Down

0 comments on commit 59de60e

Please sign in to comment.