このコミットが含まれているのは:
@@ -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__/)
|
||||
|
||||
|
||||
@@ -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 } }))
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする