pull/496/head
Frostebite 2023-02-19 00:33:35 +00:00
parent 80a713a6db
commit c998f7ceee
1 changed files with 1 additions and 2 deletions

View File

@ -230,8 +230,7 @@ describe('Cloud Runner Locking', () => {
expect(lockFilesExist).toBeTruthy();
const result: string[] = [];
const workspaces = await SharedWorkspaceLocking.GetAllWorkspaces(buildParameters);
for (let element of workspaces) {
element = `${element.split(`_`)[1]}_${element.split(`_`)[2]}`;
for (const element of workspaces) {
expect((await SharedWorkspaceLocking.GetAllWorkspaces(buildParameters)).join()).toContain(element);
expect(
(await SharedWorkspaceLocking.GetAllWorkspaces(buildParameters)).filter((x) => x.endsWith(`_workspace`)),