describe('waitStateChange event for item', function () {
    var testrun;

    before(function (done) {
        this.run({
            delay: {item: 200},
            collection: {
                item: {request: 'https://postman-echo.com/get?1'}
            }
        }, function (err, results) {
            testrun = results;
            done(err);
        });
    });

    it('must be emitted twice', function () {
        expect(testrun.waitStateChange.calledTwice).be.ok();
    });

    it('must be emitted first saying that waiting state starts', function () {
        expect(testrun.waitStateChange.getCall(0).args[2]).be(true);
    });

    it('must send the time for possible next state change after start', function () {
        expect(testrun.waitStateChange.getCall(0).args[3]).be(200);
    });

    it('start delay source must be "item"', function () {
        expect(testrun.waitStateChange.getCall(0).args[4]).be('item');
    });

    it('must be emitted second time saying that waiting state ends', function () {
        expect(testrun.waitStateChange.getCall(1).args[2]).be(false);
    });

    it('must send the time for last state change after end', function () {
        expect(testrun.waitStateChange.getCall(1).args[3]).be(200);
    });

    it('end delay source must be "item"', function () {
        expect(testrun.waitStateChange.getCall(1).args[4]).be('item');
    });
});

@@ -1,8 +1,46 @@
+var expect = require('chai').expect;%0A%0A
 describe
@@ -404,36 +404,38 @@
    %7D);%0A%0A    it('
-must
+should
  be emitted twic
@@ -508,15 +508,16 @@
 ce).
+to.
 be.ok
-()
 ;%0A  
@@ -523,36 +523,38 @@
    %7D);%0A%0A    it('
-must
+should
  be emitted firs
@@ -667,16 +667,18 @@
 2%5D).
+to.
 be
-(
+.
 true
-)
 ;%0A  
@@ -684,36 +684,38 @@
    %7D);%0A%0A    it('
-must
+should
  send the time f
@@ -823,34 +823,40 @@
 all(0).args%5B3%5D).
-be
+to.equal
 (200);%0A    %7D);%0A%0A
@@ -964,34 +964,40 @@
 all(0).args%5B4%5D).
-be
+to.equal
 ('item');%0A    %7D)
@@ -1007,20 +1007,22 @@
     it('
-must
+should
  be emit
@@ -1147,17 +1147,19 @@
 2%5D).
+to.
 be
-(
+.
 false
-)
 ;%0A  
@@ -1173,20 +1173,22 @@
     it('
-must
+should
  send th
@@ -1301,18 +1301,24 @@
 rgs%5B3%5D).
-be
+to.equal
 (200);%0A 
@@ -1440,18 +1440,24 @@
 rgs%5B4%5D).
-be
+to.equal
 ('item')

Update integration/options-delay/wait-state-change-event-item tests to chai