Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
moo
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberixae committed Nov 20, 2019
1 parent 76231e6 commit d0136f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions test/index.test.ts
Original file line number Diff line number Diff line change
@@ -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', () => {
Expand Down Expand Up @@ -77,7 +75,7 @@ describe('Redux Duck', () => {
const type = duck.defineType('action-name');
const action = duck.createAction(type);

const reducer = duck.createReducer<CountState>(
const reducer = duck.createReducer(
{
[type]: state => {
return {
Expand Down
2 changes: 1 addition & 1 deletion test/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const alfredExports = {
};

describe('Redux Duck', () => {
describe('Type Definitions', () => {
test('Type Definitions', () => {
expect(winnieExports).toBeDefined();
expect(alfredExports).toBeDefined();
});
Expand Down

0 comments on commit d0136f6

Please sign in to comment.