basic test
This commit is contained in:
@ -9,7 +9,7 @@ const Lws = require('lws')
|
||||
* @alias module:local-web-server
|
||||
*/
|
||||
class LocalWebServer extends Lws {
|
||||
constructor () {
|
||||
constructor (options) {
|
||||
const path = require('path')
|
||||
const stack = [
|
||||
'lws-log',
|
||||
@ -28,7 +28,8 @@ class LocalWebServer extends Lws {
|
||||
].map(name => {
|
||||
return path.resolve(__dirname, `../node_modules/${name}`)
|
||||
})
|
||||
super({ stack, 'config-name': 'local-web-server' })
|
||||
options = Object.assign({ stack }, options)
|
||||
super(options)
|
||||
}
|
||||
|
||||
getVersion () {
|
||||
|
Reference in New Issue
Block a user