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', + ); + }); +});