'chai-assertion to validate anyone is true should pass

I am trying to do assertion to validate any one statement is true, test should pass. Following is the code

expect(commuication.status).to.contain( "PROCESSED", "NOT_PROCESSED" );

where communication.status return different value out of "PROCESSED""NOT_PROCESSED" values. This assertion throwing me error->Unexpected Undefined. What am i doing wrong here? any help



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source