rel-events
Advanced tools
Comparing version 0.4.5 to 0.4.6
@@ -199,2 +199,3 @@ // eslint-disable-next-line import/named | ||
expect(TestEvent._chainEvents).not.toBeCalled(); | ||
expect(reducers.testEvent(undefined, { type: 'notThisOne' })).toEqual( | ||
@@ -205,3 +206,2 @@ EventManager.initialState, | ||
expect(TestEvent._chainEvents).not.toBeCalled(); | ||
expect(reducers.testEvent({}, { type: 'TEST_EVENT' })).toEqual({ test: 'it works!' }); | ||
@@ -230,2 +230,3 @@ expect(EventManager.onDispatch).toBeCalled(); | ||
expect(TestEvent._chainEvents).not.toBeCalled(); | ||
expect(reducers.otherEvent(undefined, { type: 'notThisOne' })).toEqual( | ||
@@ -236,3 +237,2 @@ EventManager.initialState, | ||
expect(TestEvent._chainEvents).not.toBeCalled(); | ||
expect(reducers.otherEvent({}, { type: 'TEST_EVENT' })).toEqual({ test: 'it works!' }); | ||
@@ -239,0 +239,0 @@ expect(EventManager.onDispatch).toBeCalled(); |
@@ -99,2 +99,4 @@ "use strict"; | ||
_this._chainEvents(action); | ||
return state; | ||
@@ -101,0 +103,0 @@ }; |
@@ -95,2 +95,3 @@ import { connect } from 'react-redux'; | ||
} | ||
this._chainEvents(action); | ||
return state; | ||
@@ -97,0 +98,0 @@ }; |
{ | ||
"name": "rel-events", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "The relevant React Events Library. Events framework based on redux to decouple our from business logic and make state management easy.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ # rel-events | ||
*To read the docs, [go to our docs folder](https://github.com/labcodes/rel-events/tree/master/docs). :)* | ||
*To see the app demo, [go to out codesandbox page](https://codesandbox.io/s/rel-events-example-w6yji?fontsize=12)!* | ||
*To see the app demo, [go to our codesandbox page](https://codesandbox.io/s/rel-events-example-w6yji?fontsize=12)!* | ||
@@ -9,0 +9,0 @@ Welcome to the `rel-events` github repo! |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
176278
1247