From baba71e73d4cbc34b97bc8feb8803a6e4a259e08 Mon Sep 17 00:00:00 2001
From: Song367 <601337784@qq.com>
Date: Sat, 21 Mar 2026 15:12:19 +0800
Subject: [PATCH] fix: update browser title
---
index.html | 2 +-
src/browser-title.test.ts | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 src/browser-title.test.ts
diff --git a/index.html b/index.html
index 21dfe69..a5a9ae2 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
- My Google AI Studio App
+ AI Video Translation Studio
diff --git a/src/browser-title.test.ts b/src/browser-title.test.ts
new file mode 100644
index 0000000..2abfd3d
--- /dev/null
+++ b/src/browser-title.test.ts
@@ -0,0 +1,15 @@
+import { readFileSync } from 'node:fs';
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { describe, expect, it } from 'vitest';
+
+const currentDir = path.dirname(fileURLToPath(import.meta.url));
+const indexHtmlPath = path.resolve(currentDir, '../index.html');
+
+describe('browser title', () => {
+ it('uses the approved browser title', () => {
+ expect(readFileSync(indexHtmlPath, 'utf8')).toContain(
+ 'AI Video Translation Studio',
+ );
+ });
+});