summaryrefslogtreecommitdiff
path: root/packages/core/src/utils/user_id.test.ts
diff options
context:
space:
mode:
authorYuki Okita <[email protected]>2025-08-20 10:55:47 +0900
committerGitHub <[email protected]>2025-08-20 01:55:47 +0000
commit21c6480b65528a98ac0e1e3855f3c78c1f9b7cbe (patch)
tree5555ec429209e87e0c21483c9e5fddd53ac01dbc /packages/core/src/utils/user_id.test.ts
parent1049d388451120587a8643a401fd71430a8cd5fe (diff)
Refac: Centralize storage file management (#4078)
Co-authored-by: Taylor Mullen <[email protected]>
Diffstat (limited to 'packages/core/src/utils/user_id.test.ts')
-rw-r--r--packages/core/src/utils/user_id.test.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/packages/core/src/utils/user_id.test.ts b/packages/core/src/utils/user_id.test.ts
deleted file mode 100644
index 5c11d773..00000000
--- a/packages/core/src/utils/user_id.test.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * @license
- * Copyright 2025 Google LLC
- * SPDX-License-Identifier: Apache-2.0
- */
-
-import { describe, it, expect } from 'vitest';
-import { getInstallationId } from './user_id.js';
-
-describe('user_id', () => {
- describe('getInstallationId', () => {
- it('should return a valid UUID format string', () => {
- const installationId = getInstallationId();
-
- expect(installationId).toBeDefined();
- expect(typeof installationId).toBe('string');
- expect(installationId.length).toBeGreaterThan(0);
-
- // Should return the same ID on subsequent calls (consistent)
- const secondCall = getInstallationId();
- expect(secondCall).toBe(installationId);
- });
- });
-});