express-live-reloading
Version:
Live reloading middleware express
22 lines (13 loc) • 451 B
JavaScript
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() ;
} ) ;
} ) ;