Add test for debounce middleware

NEW
Unassigned

Status

()

Firefox
Developer Tools: Console
P2
normal
5 months ago
2 months ago

People

(Reporter: Honza, Unassigned)

Tracking

({stale-bug})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 months ago
bug 1364150 introduced a new generic Redux middleware responsible for debouncing actions. We should have a test for this middleware.

Here is an example:
http://redux.js.org/docs/recipes/WritingTests.html#middleware

Honza
(Reporter)

Updated

5 months ago
Depends on: 1364150
(Reporter)

Updated

5 months ago
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Priority: -- → P1
(Reporter)

Comment 1

5 months ago
Created attachment 8875749 [details] [diff] [review]
debounce-test.patch

First draft

Further (possible) additions:
- move to the share directory
- more tests (wait and maxWait + batching)

Honza
This is an assigned P1 bug without activity in two weeks. 

If you intend to continue working on this bug for the current release/iteration/sprint, remove the 'stale-bug' keyword.

Otherwise we'll reset the priority of the bug back to '--' on Monday, August 28th.
Keywords: stale-bug
(Reporter)

Updated

2 months ago
Priority: P1 → P2
(Reporter)

Comment 3

2 months ago
I am not working on this atm, so unassigning.

Honza
Assignee: odvarko → nobody
Status: ASSIGNED → NEW
You need to log in before you can comment on or make changes to this bug.