From d0136f68ecfefbfae00fb7725e41586a9c857ed1 Mon Sep 17 00:00:00 2001 From: Toni Ruottu Date: Wed, 20 Nov 2019 16:32:40 +0200 Subject: [PATCH] moo --- test/index.test.ts | 4 +--- test/types.test.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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(); });