UNPKG

express-live-reloading

Version:
22 lines (13 loc) 451 B
const {assert,expect} = require('chai') ,watchersCloseFailTest = require('./../lib/watchers-close-fail') ; describe('test module `fail close watchers`' , () => { it('should be an function' , () => { assert.isFunction(watchersCloseFailTest) ; } ) ; it('should \\throw' , () => { const fxThrow = () => watchersCloseFailTest() ; expect( fxThrow ).to.have.throw() ; } ) ; } ) ;