We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 583847f commit 95b827bCopy full SHA for 95b827b
2 files changed
__tests__/action.js
@@ -2,6 +2,7 @@ import {
2
HOVER,
3
UNHOVER,
4
hover,
5
+ unhover,
6
} from '../src/action';
7
8
describe('action', () => {
@@ -23,4 +24,14 @@ describe('action', () => {
23
24
});
25
26
27
+ describe('unhover', () => {
28
+ it('should create expected action', () => {
29
+ const id = 'some id';
30
+ expect(unhover(id))
31
+ .toEqual({
32
+ type: UNHOVER,
33
+ id,
34
+ });
35
36
37
src/action.js
@@ -5,3 +5,8 @@ export const hover = id => ({
type: HOVER,
id,
+
9
+export const unhover = id => ({
10
11
12
+});
0 commit comments