Skip to content

Commit 61d688c

Browse files
committed
Fix lint issues related to the no-prototype-builtins rule
1 parent c3cd6b3 commit 61d688c

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
@@ -88,7 +88,7 @@ describe('createSlice', () => {
8888
})
8989

9090
it('should create increment action', () => {
91-
expect(actions.hasOwnProperty('increment')).toBe(true)
91+
expect(actions).toHaveProperty('increment')
9292
})
9393

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

0 commit comments

Comments
 (0)