cypress test WIP

This commit is contained in:
SPRINX0\prochazka
2024-12-09 13:44:08 +01:00
parent 51c4964003
commit 111a3a678f
4 changed files with 32 additions and 15 deletions

View File

@@ -96,6 +96,9 @@ function packagedPluginsDir() {
// return path.resolve(__dirname, '../../plugins');
// }
}
if (processArgs.runPackerBuild) {
return path.resolve('packer/build/plugins');
}
return null;
}

View File

@@ -14,7 +14,7 @@ const workspaceDir = getNamedArg('--workspace-dir');
const processDisplayName = getNamedArg('--process-display-name');
const listenApi = process.argv.includes('--listen-api');
const listenApiChild = process.argv.includes('--listen-api-child') || listenApi;
const staticDir = getNamedArg('--static-dir');
const runPackerBuild = process.argv.includes('--run-packer-build');
function getPassArgs() {
const res = [];
@@ -24,6 +24,9 @@ function getPassArgs() {
if (listenApiChild) {
res.push('listen-api-child');
}
if (runPackerBuild) {
res.push('--run-packer-build');
}
return res;
}
@@ -37,5 +40,5 @@ module.exports = {
listenApi,
listenApiChild,
processDisplayName,
staticDir,
runPackerBuild,
};