isTestAction static method
Implementation
static bool isTestAction(dynamic action) {
var shouldPop = false;
if(action is AFNavigatePopAction) {
shouldPop = action.worksInSingleScreenTest;
}
return ( shouldPop ||
action is AFNavigateExitTestAction ||
action is AFUpdatePrototypeScreenTestModelsAction ||
action is AFPrototypeScreenTestAddError ||
action is AFPrototypeScreenTestIncrementPassCount ||
action is AFStartPrototypeScreenTestContextAction );
}