Use local puppeteer chromium version in integration tests
This commit is contained in:
Родитель
874e0b8d99
Коммит
d6cc823948
|
@ -45,8 +45,15 @@ export class TestProjectSpec {
|
|||
this._props.webRoot = props.webRoot || props.projectRoot;
|
||||
this._props.outFiles = props.outFiles || path.join(props.projectRoot, 'out');
|
||||
this._props.port = props.port || 7890;
|
||||
this._props.url = props.url || `http://localhost:${props.port}`;
|
||||
this._props.launchConfig = props.launchConfig || { url: props.url, outFiles: props.outFiles, sourceMaps: true, webRoot: props.webRoot };
|
||||
this._props.url = props.url || `http://localhost:${props.port}/`;
|
||||
this._props.launchConfig = props.launchConfig || {
|
||||
url: props.url,
|
||||
outFiles: props.outFiles,
|
||||
sourceMaps: true,
|
||||
/* TODO: get this dynamically */
|
||||
runtimeExecutable: 'node_modules/puppeteer/.local-chromium/win64-637110/chrome-win/chrome.exe',
|
||||
webRoot: props.webRoot
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Загрузка…
Ссылка в новой задаче