AbdulElahGwaith's picture
Upload folder using huggingface_hub
88df9e4 verified
import { describe, expect, test } from 'vitest'
import { languageKeys } from '@/languages/lib/languages-server'
import { getDOM } from '@/tests/helpers/e2etest'
const langs = languageKeys.filter((lang) => lang !== 'en')
describe('glossary', () => {
test.each(langs)('GitHub glossary page in %s', async (lang) => {
// This will implicitly test that the page works with a 200 OK
const $ = await getDOM(`/${lang}/get-started/learning-about-github/github-glossary`)
const h2s = $('#article-contents h2')
expect(h2s.length).toBeGreaterThan(0)
})
})