Fixing UT on mac
This commit is contained in:
parent
8a5aa04756
commit
3c71f542a8
1 changed files with 6 additions and 6 deletions
|
@ -12,12 +12,12 @@ describe('process module', function () {
|
|||
describe('process.getIOCounters()', function () {
|
||||
it('returns an io counters object', function () {
|
||||
var ioCounters = process.getIOCounters()
|
||||
assert.ok(ioCounters.readOperationCount > 0, 'read operation count not > 0')
|
||||
assert.ok(ioCounters.writeOperationCount > 0, 'write operation count not > 0')
|
||||
assert.ok(ioCounters.otherOperationCount > 0, 'other operation count not > 0')
|
||||
assert.ok(ioCounters.readTransferCount > 0, 'read transfer count not > 0')
|
||||
assert.ok(ioCounters.writeTransferCount > 0, 'write transfer count not > 0')
|
||||
assert.ok(ioCounters.otherTransferCount > 0, 'other transfer count not > 0')
|
||||
assert.equal(typeof ioCounters.readOperationCount, 'number')
|
||||
assert.equal(typeof ioCounters.writeOperationCount, 'number')
|
||||
assert.equal(typeof ioCounters.otherOperationCount, 'number')
|
||||
assert.equal(typeof ioCounters.readTransferCount, 'number')
|
||||
assert.equal(typeof ioCounters.writeTransferCount, 'number')
|
||||
assert.equal(typeof ioCounters.otherTransferCount, 'number')
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue