BrokenLinkChecker
#startServer
should fail with invalid port
should create instance of express
should create instance of http.Server
should serve on custom baseUrl if passed
should fail without path
#runChecker
should fail without port and url
should fail with invalid url
should fail with path to invalid document
should work with path to valid document
#validateOptions
should fail without non-optional argument
should fail with multiple non-optional arguments
should work with single non-optional argument
should add leading slash to base-url if needed
#getPathOrUrl
should set url if a url is passed
should set path if a path is passed
#exit
should set exitCode
should report error
should close server
#launch
should fail with invalid directory
should work with valid directory
should work with valid url