このコミットが含まれているのは:
2026-11-01 19:34:52 +09:00
コミット f874d6e405
4個のファイルの変更、25行の追加、8行の削除
+5 -1
ファイルの表示
@@ -348,7 +348,11 @@ test ('counts SSR renders the shell without result requests or embedded results'
assert.match (result.html, /<form[\s>]/)
assert.doesNotMatch (result.html, /counts:|columns\.changedAt|fields\.actor/)
assert.match (result.head, /<meta[^>]*name="robots"[^>]*content="noindex"/)
assert.match (result.head, /<title[^>]*>[^<]*集計[^<]*\|[^<]*<\/title>/)
const titles = {
ja: { posts: '広場集計', tags: 'タグ集計' },
'ain-Kana': { posts: 'ミンタㇻ ウコピㇱキ', tags: 'シロシ ウコピㇱキ' } }
assert.match (result.head, new RegExp (
`<title[^>]*>${titles[locale][resource]} \\|[^<]*<\/title>`))
assert.match (result.head, /rel="canonical"/)
assert.doesNotMatch (result.html, /private-discard|hidden-title|__counts_private__/)
+1
ファイルの表示
@@ -7,6 +7,7 @@ export default mergeConfig (
viteConfig,
defineConfig ({
test: { environment: 'jsdom',
testTimeout: 30_000,
exclude: ['**/node_modules/**', '**/dist/**', 'server.ssr.test.mjs'],
setupFiles: './src/test/setup.ts',
globals: false } }))