Name a plugin that stays in two usage examples
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@
|
|||||||
// After the parallel run, the runner runs each failed test again, one at a time (--retries, default 1).
|
// After the parallel run, the runner runs each failed test again, one at a time (--retries, default 1).
|
||||||
// A test that passes on a retry counts as "flaky". The summary lists it, but the run does not fail.
|
// A test that passes on a retry counts as "flaky". The summary lists it, but the run does not fail.
|
||||||
// A test declares what it needs on a line near the top:
|
// A test declares what it needs on a line near the top:
|
||||||
// // @requires repo:RuneStone_Project_Management/dist/plugin electron
|
// // @requires repo:RuneStone_Local_Autocomplete/src electron
|
||||||
// The runner skips a test, with the reason, when a requirement is missing.
|
// The runner skips a test, with the reason, when a requirement is missing.
|
||||||
// A test that fails because of a known app defect states it near the top:
|
// A test that fails because of a known app defect states it near the top:
|
||||||
// // @known-issue <the defect>
|
// // @known-issue <the defect>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import path from "node:path";
|
|||||||
export const repoRoot = fileURLToPath(new URL("../../../", import.meta.url));
|
export const repoRoot = fileURLToPath(new URL("../../../", import.meta.url));
|
||||||
export const smokeUrl = process.env.SMOKE_URL || "http://127.0.0.1:1420";
|
export const smokeUrl = process.env.SMOKE_URL || "http://127.0.0.1:1420";
|
||||||
|
|
||||||
/** The path of a sibling plugin checkout, for example pluginRepo("RuneStone_Git"). */
|
/** The path of a sibling plugin checkout, for example pluginRepo("RuneStone_CSV_Viewer"). */
|
||||||
export function pluginRepo(folder) {
|
export function pluginRepo(folder) {
|
||||||
return path.resolve(process.env.RUNESTONE_PLUGIN_REPOS || path.join(repoRoot, ".."), folder);
|
return path.resolve(process.env.RUNESTONE_PLUGIN_REPOS || path.join(repoRoot, ".."), folder);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user