mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: consolidate e2e scripts in package.json (#74906)
consolidate e2e scripts in package.json + almost fix benchmarking tests
This commit is contained in:
@@ -34,7 +34,7 @@ module.exports = defineConfig({
|
||||
});
|
||||
|
||||
on('task', {
|
||||
getJSONFilesFromDir: async (relativePath) => {
|
||||
getJSONFilesFromDir: async ({ relativePath }) => {
|
||||
// CWD is set for plugins in the cli but not for the main grafana repo: https://github.com/grafana/grafana/blob/main/packages/grafana-e2e/cli.js#L12
|
||||
const projectPath = config.env.CWD || config.fileServerFolder || process.cwd();
|
||||
const directoryPath = path.join(projectPath, relativePath);
|
||||
|
||||
Reference in New Issue
Block a user