1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Added tests for configuration controller

This commit is contained in:
2025-02-25 03:38:49 +04:00
parent a9d53afdbe
commit 09edc44af8
2 changed files with 193 additions and 0 deletions

7
tests/utils.ts Normal file
View File

@@ -0,0 +1,7 @@
export function randomString(): string {
return crypto.randomUUID();
}
export function copyValue<T>(object: T): T {
return JSON.parse(JSON.stringify(object));
}