test: do not open browser in integrationt tests (#1276)

* test: do not open browser in integrationt tests

* docs: add in serve documentation
This commit is contained in:
Niek van Staveren
2023-06-01 11:45:13 +02:00
committed by GitHub
parent c12674cac3
commit 4b3d75c5f5
3 changed files with 7 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ export default {
],
webServer: {
command: 'yarn start --port 8077',
command: 'yarn start --port 8077 --open false',
reuseExistingServer: !process.env.CI,
port: '8077',
},

View File

@@ -47,6 +47,7 @@ Options:
--mfe Serves bundle to use in micro frontend
[boolean] [default: false]
-h, --help Show help [boolean]
--open Open up in browser [boolean] [default: true]
```
#### Example

View File

@@ -84,6 +84,11 @@ const options = {
description: 'Serves bundle to use in micro frontend',
default: false,
},
open: {
type: 'boolean',
description: 'Opens browser on serving nebula',
default: true,
},
};
module.exports = (yargs) =>