Flutter Package: A Redux version tailored for Flutter, which is easy to learn, to use, to test, and has no boilerplate. Allows for both sync and async reducers.
Other
234
stars
40
forks
source link
Fix wait-condition seeing action of previous test-infos #66
There's a situation in which StoreTester.waitCondition() is able to see the TestInfo.action of a previous wait-condition when testImmediately: true. Take the following code as an example:
Previously, this code would throw an assertion error. This patch fixes that problem by making info.action be null when testing the condition immediately.
There's a situation in which
StoreTester.waitCondition()
is able to see theTestInfo.action
of a previous wait-condition whentestImmediately: true
. Take the following code as an example:Previously, this code would throw an assertion error. This patch fixes that problem by making
info.action
benull
when testing the condition immediately.