Testing promise sequence using mocha, chai, chai-as-promised, sinon

Sys­tem Under Test Let’s say we have a method call sequence to run promise based com­mands in sequence. For exam­ple, below com­mand runs c1 and when it resolves it will run c2 and so forth. Util.sequqnce([c1,…