Skip to content

Commit 4e8dce8

Browse files
committed
remove unnecessary lint ignore
1 parent f7d895d commit 4e8dce8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export function hasProperty(object: object, key: string) {
3636

3737
export function isJestEnv(): boolean {
3838
// @ts-ignore Do not use `@types/node` because it will prioritise Node types over RN types which breaks the types (ex. setTimeout) in React Native projects.
39-
// eslint-disable-next-line @typescript-eslint/no-unsafe-member-access
4039
return hasProperty(global, 'process') && !!process.env.JEST_WORKER_ID;
4140
}
4241

0 commit comments

Comments
 (0)