fix(server): searchRandom response ()

* fix searchRandom

* add e2e

* set outer limit
This commit is contained in:
Mert 2025-01-24 00:41:54 -05:00 committed by GitHub
parent 065d885ca0
commit ba105d9f19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 60 additions and 9 deletions
e2e/src

View file

@ -76,6 +76,7 @@ export const immichCli = (args: string[]) =>
export const immichAdmin = (args: string[]) =>
executeCommand('docker', ['exec', '-i', 'immich-e2e-server', '/bin/bash', '-c', `immich-admin ${args.join(' ')}`]);
export const specialCharStrings = ["'", '"', ',', '{', '}', '*'];
export const TEN_TIMES = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
const executeCommand = (command: string, args: string[]) => {
let _resolve: (value: CommandResponse) => void;