added test for serveronly (#3086)

- add test for serveronly, fixes #3076 
- use template literals in port_variable.js.template
This commit is contained in:
Karsten Hassel
2023-04-07 19:42:46 +02:00
committed by GitHub
parent 0d3ad9812c
commit 2c7beeaaaf
3 changed files with 31 additions and 1 deletions

View File

@@ -3,7 +3,7 @@
* By Rodrigo Ramírez Norambuena https://rodrigoramirez.com
* MIT Licensed.
*/
let config = require(process.cwd() + "/tests/configs/default.js").configFactory({
let config = require(`${process.cwd()}/tests/configs/default.js`).configFactory({
port: ${MM_PORT}
});