Completed
Push — dev ( d30456...4fd03f )
by Fike
33s
created

test/suites/integration/concurrent/timeout.TimeoutException.spec.js   A

Complexity

Total Complexity 5
Complexity/F 1

Size

Lines of Code 16
Function Count 5

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
c 1
b 0
f 0
nc 1
dl 0
loc 16
rs 10
wmc 5
mnd 0
bc 5
fnc 5
bpm 1
cpm 1
noi 0
1
/* eslint-env mocha */
2
3
var Concurrent = require('../../../../lib').Concurrent
4
var TimeoutException = Concurrent.TimeoutException
5
var Chai = require('chai')
6
var expect = Chai.expect
7
8
describe('Integration', function () {
9
  describe('/concurrent', function () {
10
    describe('/timeout.js', function () {
11
      describe('.TimeoutException', function () {
12
        it('is a child of error', function () {
13
          expect(new TimeoutException()).to.be.instanceOf(Error)
14
        })
15
      })
16
    })
17
  })
18
})
19