Skip to content

Commit 351eb81

Browse files
committed
rm duplicate variables
1 parent 5f7f36a commit 351eb81

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,6 @@ class Action {
129129
}
130130
describe('isAction', () => {
131131
it('should only return true for plain objects with a string type property', () => {
132-
const actionCreator = createAction('anAction')
133-
class Action {
134-
type = 'totally an action'
135-
}
136132
const testCases: [action: unknown, expected: boolean][] = [
137133
[{ type: 'an action' }, true],
138134
[{ type: 'more props', extra: true }, true],

0 commit comments

Comments
 (0)