diff --git a/test/index.test.ts b/test/index.test.ts index d6de9b4..d71674f 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1,8 +1,6 @@ import { AnyAction } from 'redux'; import { createDuck } from '../src'; -type CountState = { count: number }; - describe('Redux Duck', () => { describe('Define Type', () => { test('Without App Name', () => { @@ -77,7 +75,7 @@ describe('Redux Duck', () => { const type = duck.defineType('action-name'); const action = duck.createAction(type); - const reducer = duck.createReducer( + const reducer = duck.createReducer( { [type]: state => { return { diff --git a/test/types.test.ts b/test/types.test.ts index be986e4..692fc4f 100644 --- a/test/types.test.ts +++ b/test/types.test.ts @@ -128,7 +128,7 @@ const alfredExports = { }; describe('Redux Duck', () => { - describe('Type Definitions', () => { + test('Type Definitions', () => { expect(winnieExports).toBeDefined(); expect(alfredExports).toBeDefined(); });