Skip to content

Commit 68d8af9

Browse files
committed
Fix lint issues related to the no-prototype-builtins rule
1 parent 82b5f88 commit 68d8af9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/tests/createSlice.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ describe('createSlice', () => {
8484
})
8585

8686
it('should create increment action', () => {
87-
expect(actions.hasOwnProperty('increment')).toBe(true)
87+
expect(actions).toHaveProperty('increment')
8888
})
8989

9090
it('should have the correct action for increment', () => {

0 commit comments

Comments
 (0)