mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 09:48:18 -05:00
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:
committed by
GitHub
parent
c12674cac3
commit
4b3d75c5f5
@@ -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',
|
||||
},
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) =>
|
||||
|
||||
Reference in New Issue
Block a user