Alonso Torres 286a6d5c9a
✨ Add new dashboard methods to the API (#12169)
* ✨ Add new dashboard methods to the API

* 🐛 Fix some issues with the new methods

* 🐛 Fix problem with mcp test
2026-10-14 15:24:53 +02:00

15 lines
590 B
TypeScript

// Shared by the tests (in the sandbox) and the CI driver (in Node), so it must
// stay free of imports.
/**
* Name prefix of every team and project the tests create. Tests delete the
* teams they create; the live CI driver deletes the teams and projects with
* this prefix after a run. Runs from the plugin UI leave the projects behind.
*/
export const TEMPORARY_PREFIX = '__api_test_tmp__';
/** Returns a unique name with {@link TEMPORARY_PREFIX} for a test project. */
export function temporaryName(label: string): string {
return `${TEMPORARY_PREFIX} ${label} ${Date.now()}`;
}