初めてのテストです テストケースを書きます
var should = require("should")
describe('Array', function(){
describe('#indexOf()', function(){
it('should return -1 when the value is not present',function(){
[1,2,3].indexOf(5).should.equal(-1);
[1,2,3].indexOf(0).should.equal(-1);
})
})
})
それは私に0パスを与えます
0 passing (1ms)
しかし、なぜ1回の合格を表示する必要があるのですか