mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -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: {
|
webServer: {
|
||||||
command: 'yarn start --port 8077',
|
command: 'yarn start --port 8077 --open false',
|
||||||
reuseExistingServer: !process.env.CI,
|
reuseExistingServer: !process.env.CI,
|
||||||
port: '8077',
|
port: '8077',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ Options:
|
|||||||
--mfe Serves bundle to use in micro frontend
|
--mfe Serves bundle to use in micro frontend
|
||||||
[boolean] [default: false]
|
[boolean] [default: false]
|
||||||
-h, --help Show help [boolean]
|
-h, --help Show help [boolean]
|
||||||
|
--open Open up in browser [boolean] [default: true]
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|||||||
@@ -84,6 +84,11 @@ const options = {
|
|||||||
description: 'Serves bundle to use in micro frontend',
|
description: 'Serves bundle to use in micro frontend',
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
open: {
|
||||||
|
type: 'boolean',
|
||||||
|
description: 'Opens browser on serving nebula',
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = (yargs) =>
|
module.exports = (yargs) =>
|
||||||
|
|||||||
Reference in New Issue
Block a user