Make sure azure tests use unique file paths (#17104)

This commit is contained in:
Rijk van Zanten
2023-01-11 16:52:43 -05:00
committed by GitHub
parent d2a6621153
commit 99d0c17dcf

View File

@@ -20,6 +20,7 @@ import {
randText,
randFileType,
randUrl,
randGitShortSha as randUnique,
} from '@ngneat/falso';
vi.mock('@directus/utils/node');
@@ -62,12 +63,12 @@ beforeEach(() => {
endpoint: `https://${randDomainName()}`,
},
path: {
input: randFilePath(),
inputFull: randFilePath(),
src: randFilePath(),
srcFull: randFilePath(),
dest: randFilePath(),
destFull: randFilePath(),
input: randUnique() + randFilePath(),
inputFull: randUnique() + randFilePath(),
src: randUnique() + randFilePath(),
srcFull: randUnique() + randFilePath(),
dest: randUnique() + randFilePath(),
destFull: randUnique() + randFilePath(),
},
range: {
start: randNumber(),