Fix #2714 - Start demo server before running integration tests
- Use port 3001 instead of 300 to not conflict with the demo
This commit is contained in:
@@ -34,6 +34,13 @@ if (process.argv.length > 2) {
|
||||
|
||||
|
||||
env.DEBUG = flagArgs.indexOf('--debug') >= 0 ? 'debug' : '';
|
||||
env.PORT = 3001;
|
||||
|
||||
const server = cp.spawn('node', ['demo/start'], {
|
||||
cwd: path.resolve(__dirname, '..'),
|
||||
env,
|
||||
stdio: 'inherit'
|
||||
})
|
||||
|
||||
const run = cp.spawnSync(
|
||||
npmBinScript('mocha'),
|
||||
|
||||
Reference in New Issue
Block a user