Blame view

code/finance_web/node_modules/mockjs/test/test.coveralls.js 1.12 KB
a  
谢明辉 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
/* global require */
/* global describe, it */
var assert = require("assert")
describe('Array', function() {
    describe('#indexOf()', function() {
        it('should return -1 when the value is not present', function() {
            assert.equal(-1, [1, 2, 3].indexOf(5))
            assert.equal(-1, [1, 2, 3].indexOf(0))
        })
    })
})
describe('Array', function() {
    describe('#indexOf()', function() {
        it('should return -1 when the value is not present', function() {
            assert.equal(-1, [1, 2, 3].indexOf(5))
            assert.equal(-1, [1, 2, 3].indexOf(0))
        })
    })
})
describe('Array', function() {
    describe('#indexOf()', function() {
        it('should return -1 when the value is not present', function() {
            assert.equal(-1, [1, 2, 3].indexOf(5))
            assert.equal(-1, [1, 2, 3].indexOf(0))
        })
    })
})
describe('Array', function() {
    describe('#indexOf()', function() {
        it('should return -1 when the value is not present', function() {
            assert.equal(-1, [1, 2, 3].indexOf(5))
            assert.equal(-1, [1, 2, 3].indexOf(0))
        })
    })
})