| 12345678910111213141516171819202122232425 |
- const { serverStart } = require("express-mock-server");
- var sources = [
- require("./test.js"),
- require('./warn.js')
- ];
-
- // this is default configuration
- var opt_serverConfig = {
- port: 9999,
- controlApiUrl: ""
- };
-
- /**
- * Return strated Server instance
- function can be called are
- start
- close
- * @param {Array} sources
- * @param {?Object} opt_serverConfig
- * @return {Server}
- */
- serverStart(sources,opt_serverConfig);
|