woocommerce/tools/compare-perf/config.js

14 lines
572 B
JavaScript
Raw Normal View History

const config = {
gitRepositoryURL: 'https://github.com/woocommerce/woocommerce.git',
2023-12-14 10:50:44 +00:00
setupTestRunner:
'npm install -g pnpm && pnpm install --filter="@woocommerce/plugin-woocommerce" &> /dev/null && cd plugins/woocommerce && pnpm exec playwright install chromium',
setupCommand:
2023-12-14 10:50:44 +00:00
'npm install -g pnpm && pnpm install &> /dev/null && pnpm build &> /dev/null',
pluginPath: '/plugins/woocommerce',
testsPath: '/plugins/woocommerce/tests/metrics/specs',
testCommand:
'npm install -g pnpm && cd plugins/woocommerce && pnpm test:metrics',
};
module.exports = config;