libs/mocha/should.js
function(obj){
        console.warn('should.contain() is deprecated, use should.include()');
        this.obj.should.be.an.instanceof(Array);
        this.assert(
            ~this.obj.indexOf(obj)
            , function(){ return 'expected ' + this.inspect + ' to contain ' + i(obj) }
            , function(){ return 'expected ' + this.inspect + ' to not contain ' + i(obj) });
        return this;
    }
function(obj){
        console.warn('should.contain() is deprecated, use should.include()');
        this.obj.should.be.an.instanceof(Array);
        this.assert(
            ~this.obj.indexOf(obj)
            , function(){ return 'expected ' + this.inspect + ' to contain ' + i(obj) }
            , function(){ return 'expected ' + this.inspect + ' to not contain ' + i(obj) });
        return this;
    }
function ( obj ) { console . warn ( 'should.contain() is deprecated, use should.include()' ) ; this . obj . should . be . an . instanceof ( Array ) ; this . assert ( ~ this . obj . indexOf ( obj ) , function ( ) { return 'expected ' + this . inspect + ' to contain ' + i ( obj ) } , function ( ) { return 'expected ' + this . inspect + ' to not contain ' + i ( obj ) } ) ; return this ; }
Assert that the array contains _obj_.

@param {Mixed} obj
@api public
Assert that the array contains _obj_ .